Allow hit count mixed objects represented into relational database, using NoSQL databases.
Imagine that you have ordered items, and each one can be customized with diferent toppings. Example:
- Round Pizza with toppings (Spinach, Hot Sopresatta)
- Round Pizza with toppings (Anchovies, Fried Eggplant)
So you want to know, the number of items ordered with the same toppings.
push_hit
object:
model instancerelated_objects:
sequence of model instances that compound the mixed object together the object paramhit_count:
number of hits to pushget_hit_count
object:
model instancerelated_objects:
sequence of model instances that compound the mixed object together the object paramget_mixed_objects
filters:
dictionary of filter to quering mixed objectslimit:
max number of mixed objects to returnoffset:
skip to this position before returning the resultsorder_by:
order the mixed objects by these keys
If you have questions about usage or development you can send an email to rmaceissoft at gmail dot com