Object Document Mapper Is a programming technique for converting data between incompatible type systems in object-oriented programming languages. This creates, in effect, a "virtual object database" that can be used from within the programming language. There are both free and commercial packages available that perform object-relational mapping, although some programmers opt to create their own ODM tools.
Questions tagged [odm]
218 questions
0
votes
1 answer
Lazy load between referenced documents on MongoDB with Doctrine ODM
Helo,
firstly, please excuse my English, is not very good.
I am migrating the data container of a Symfony2 application to MongoDB, before that it run with MySQL.
I added the DoctrineMongoDBBundle and "almost everything" works perfectly.
I have some…

Zacarías Calabria
- 1
- 1
- 3
0
votes
3 answers
how to validate ilog variables individually?
I am going to validate multiple objects but individually (one at a time) using ilog jrules.
My current thought is wrap all items needs to be validated in a input param called "itemToValidate" as follows
…
0
votes
1 answer
ZF2 ODM MongoDB "need to login"
i'm using ZF2 with ODM and MongoDB. When i try to perform very simple tasks like:
/** @ODM\Document(collection="Test") */
class Test
{
...
}
I receive the Error "need to login". Well, i know why this is a problem an i can solve it by using:
/**…

user2015618
- 3
- 3
0
votes
2 answers
How can I sort the results of a map/reduce using Doctrine ODM
I'm having an issue trying to sort after a map reduce. The collection has statistics (like scores) with users attached, so it's finding the highest score of the user. That portion works, the sort is to then sort those results for a leaderboard. …

John
- 590
- 4
- 13
0
votes
1 answer
Doctrine Mongo ODM reference 3 collections
Hi I'm trying to reference 3 collections but i fail fom 2 > 3 referencing, let me explain what i'm trying to do.
I have User class that have reference posts referenceMany > Posts and in posts i have referenceMany > comments.
Note: Doctrine Mongo ODM…

Emrah Mehmedov
- 1,492
- 13
- 28
0
votes
1 answer
Using GridFS with Ming ODM in Turbogears
Ming supports GridFS start from 0.3 version, and i've used it in several Turbogears apps so far, but can't find any documentation of how to use GridFS with Ming,
This is what i've done so far, in my model store.py module :
#import…

panjiesw
- 156
- 1
- 12
-2
votes
2 answers
Data-modelling tools for MongoDB
Even though MongoDB is a schema-less DB but there is a requirement in my project where I have to map my classes to the Database objects and prefer to have the data modelling for the same. Please suggest some Data-modelling tools for MongoDB to map…

SSS
- 1
- 1
- 2
-2
votes
1 answer
mongodb and php transition
I am using opencart (an opensource framework for e-commerce).
It uses only mysql database as its data source.
However due to the current site traffic, I am sure that we can increase our efficiency by using noSQL (Mongodb). Thats great but the…

Asim Zaidi
- 27,016
- 49
- 132
- 221