摘要:
mongodb的自增实现根oracle,postgresql是差不多,都是通过计数器来实现的. oracle自增实现: 实例说明oracle序列用法 postgresql自增实现: postgresql auto_increment 实现 通用方法 1,mongodb命令行下实现auto_incre 阅读全文
posted @ 2016-02-02 10:28
何石-博客
阅读(528)
评论(0)
推荐(0)
摘要:
紧接着上篇来,这篇主要讲,mongodb的group功能,做的还是挺强大的,相当对于find(),skip(),distinct()等,用法比较复杂。 测试数据 查看复制打印? > db.fruit.find(); { "_id" : 1, "category" : "fruit", "name" 阅读全文
posted @ 2016-02-02 10:27
何石-博客
阅读(959)
评论(0)
推荐(0)
摘要:
下面说一下,mongodb select的常用操作 测试数据 查看复制打印? { "_id" : 1, "title" : "红楼梦", "auther" : "曹雪芹", "typeColumn" : "test", "money" : 80, "code" 阅读全文
posted @ 2016-02-02 10:25
何石-博客
阅读(437)
评论(0)
推荐(0)
浙公网安备 33010602011771号