Thank you for your reply Hung Tran.

I make model of the situation where the customer has the documents. They 
can be very numerous, for example a document is a receipt from the cash 
register at the grocery store, so can be numerous even in a single day.

I need aggregation, for example, in 2015 total sales. So I have a 1-n 
relationship with a very large n.
Hence I have in OrientDB JSON client: {"name": ... ,"Documents" 
[ref_to_doc_1, ..., ref_to_doc_12234]}

Is there any other way, with no adding in the "document" table field with 
the client id, like in typical relational database?

Best Regards
Tomek

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to