V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
The Go Programming Language
http://golang.org/
Go Playground
Go Projects
Revel Web Framework
LeslieLau

基于 mongodb go 官方驱动的二次封装库

  •  1
     
  •   LeslieLau · Sep 20, 2023 · 1759 views
    This topic created in 964 days ago, the information mentioned may be changed or developed.

    项目地址: mongo-plus

    特性:

    • 调用链操作, 自由组合条件
    • api 友好
    • 支持 Context
    • 开箱即用
    • 分页查询支持
    • 简易的聚合(aggregate)支持
    • 数据库管理命令操作
    • 持续更新 ing

    恳请大家给点意见以及需要优化的点

    2 replies    2023-12-01 15:35:29 +08:00
    ycvk
        1
    ycvk  
       Dec 1, 2023
    用了下确实舒服很多啊,不用像官方库和 qmgo 那样写 bson ,可惜目前不支持事务,点 star 了
    LeslieLau
        2
    LeslieLau  
    OP
       Dec 1, 2023
    @ycvk 感谢关注哈,预计两个版本后会支持事务的。
    下个版本会有命令行工具(创建索引、集合等)支持,再下一个版本会提供事务和语句生成支持的。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3290 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 13:10 · PVG 21:10 · LAX 06:10 · JFK 09:10
    ♥ Do have faith in what you're doing.