在 Java 中像 Mongo shell 一样使用 Mongo Jongo

码农软件 · 软件分类 · Java开发工具 · 2019-11-06 08:44:35

软件介绍

Jongo, 在 Java 中像 Mongo shell 一样使用 Mongo

  • 忠实还原: Jongo 修复了 Mongo 查询语言在 Java 中时不能使用的问题,  复制/粘贴你的 shell 查询就可以了

  • 面向对象: 保存对象到 collections& 从 collections 查找对象 . 使用你自己的类库或者内嵌的 Jackson 做转换 

  • 结实好用:  和 Mongo Java driver 一样快. 开源, 充分测试 & 结实好用的类库.

文档参见: jongo.org

SHELL

db.friends.find({age: {$gt: 18}})

JAVA DRIVER

friends.find(new BasicDBObject("age",new BasicDBObject("$gt",18)))

JONGO

friends.find("{age: {$gt: 18}}").as(Friend.class)

本文地址:https://codercto.com/soft/d/18375.html

Uberland

Uberland

Alex Rosenblat / University of California Press / 2018-11-19 / GBP 21.00

Silicon Valley technology is transforming the way we work, and Uber is leading the charge. An American startup that promised to deliver entrepreneurship for the masses through its technology, Uber ins......一起来看看 《Uberland》 这本书的介绍吧!

随机密码生成器
随机密码生成器

多种字符组合密码

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具