使用nosql db保存在关系模型中表示的混合对象的命中计数
django-hitcount-mixed-object的Python项目详细描述
允许使用NoSQL数据库将命中计数混合对象表示到关系数据库中。
动机
假设您已经订购了商品,并且每个商品都可以用不同的配料进行定制。 示例:
- Round Pizza with toppings (Spinach, Hot Sopresatta)
- Round Pizza with toppings (Anchovies, Fried Eggplant)
所以你想知道,用相同配料订购的商品数量。
应用程序提供以下方法
按下按钮
^{tt1}$ model instance
^{tt2}$ sequence of model instances that compound the mixed object together the object param
^{tt3}$ number of hits to push
获取命中计数
^{tt1}$ model instance
^{tt2}$ sequence of model instances that compound the mixed object together the object param
获取混合对象
^{tt6}$ dictionary of filter to quering mixed objects
^{tt7}$ max number of mixed objects to return
^{tt8}$ skip to this position before returning the results
^{tt9}$ order the mixed objects by these keys
反馈
如果您对使用或开发有疑问,可以通过gmail.com向rmaceissoft发送电子邮件