Questions tagged [kohana-mangodb]
10 questions
                    
                    1
                    
            vote
                
                2 answers
            
        MongoCursorException : bad skip value in query in MangoDB as_array()
I have a mongo collection called "companies" which looks like this : 
{
    "_id" : ObjectId("..."),
    "name" : "company_1",
    "active" : false,
    "projects" : [
        {
            "_id" : ObjectId("..."),
            "name" : "Prj_1",
    …
        
        YAAK
        
- 328
 - 1
 - 14
 
                    0
                    
            votes
                
                1 answer
            
        connectIin to mangodb with js unlimited time
Good morning everyone ,
i tried to create a new data base with mangodb version msi 6.0 i made this code below:
var MongoClient = require('mongodb').MongoClient;
var url = "mongodb://localhost:27017/mydb";
MongoClient.connect(url, function(err, db)…
        
    
                    0
                    
            votes
                
                0 answers
            
        How to use Terminal in MangoDB 6.0.3
i am confused to do command inside mongoDB 6.0.3. because when I see there is no terminal, does anyone know the solution?
I hope someone can help from my question
        
        Rafii Yuuki 銀
        
- 1
 - 1
 
                    0
                    
            votes
                
                0 answers
            
        Try getting user data and i get : error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
im folowing a tutorial on how to build a tinder clone using MERN STACK and it was working well till i wanted to get the user  data and pass it to the chat header ChatHeader it gave me an this error in the backend
server running on PORT8000
Error…
        
    
                    0
                    
            votes
                
                1 answer
            
        What to write in pipeline of MangoDb to find one element of 'keys'?
I would like to create a query to find the number of trees whose species name ends by 'um'
by arrondissement.
My code is here:
from pymongo import MongoClient
from utils import get_my_password, get_my_username
from pprint import pprint
client =…
        
        Anastasia_data
        
- 27
 - 1
 - 1
 - 8
 
                    0
                    
            votes
                
                1 answer
            
        spring-boot-starter-data-mongodb version issues
Caused by: java.lang.UnsupportedClassVersionError: org/bson/codecs/record/RecordCodecProvider has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file…
        
    
                    0
                    
            votes
                
                1 answer
            
        Return results by array object value
I am trying to do the equivalent of MongoDB, which should return all users called Joe Bloggs, that have at least one address where the City is defined as London:
db.users.findOne() {
    name : "Joe Bloggs",
    addresses : [{city:…
        user623520
                    0
                    
            votes
                
                1 answer
            
        How to start work MongoDB with php kohana framework
I'm currently developing the application using php Kohana framework using MongoDB. I've got this link for MongoDB module suitable for this framework. As per instructions given I've configured the module with application. But I'm sticking here not…
        
        sankar muniyappa
        
- 356
 - 5
 - 14
 
                    0
                    
            votes
                
                1 answer
            
        MongoDB execute script returns _mongo and _db information
I'm executing a MongoDB script via the Kohana MangoDB ORM.
Here's the code to be executed:
var query {
    date: date
};
var indexes = db.organisation_booking_indexes.find(query);
If I do .findOne(query) I get the specific result as an array.…
        
        iamjonesy
        
- 24,732
 - 40
 - 139
 - 206
 
                    0
                    
            votes
                
                1 answer
            
        MangoDB: select where like
I'm just trying out the Kohana MongoDB ORM: MangoDB. I'm trying to figure out how to do a where like.
$query['city'] = $this->request->query('location');
$results = Mango::factory('salon')
    ->load(array(
        'limit' => null,
       …
        
        iamjonesy
        
- 24,732
 - 40
 - 139
 - 206