• go语言中文文档
  • 介绍
  • 创建Orm引擎
    • 单库引擎
    • 引擎组
    • 引擎组策略
  • 定义表结构体
    • 名称映射规则
    • 前缀映射,后缀映射和缓存映射
    • 使用Table和Tag改变名称映射
    • Column属性定义
    • Go与字段类型对应表
  • 表结构操作
    • 获取数据库信息
    • 表操作
    • 创建索引和唯一索引
    • 同步数据库结构
    • 导出导入SQL脚本
  • 插入数据
    • 创建时间Created
  • 查询和统计数据
    • 查询条件方法
    • 临时开关方法
    • Get方法
    • Exist方法
    • Find方法
    • Join的使用
    • Iterate方法
    • Count方法
    • Rows方法
    • Sum系列方法
  • 更新数据
    • 乐观锁Version
    • 更新时间Updated
  • 删除数据
    • 软删除Deleted
  • 执行SQL查询
  • 执行SQL命令
  • 事务处理
  • 缓存
  • 事件
  • xorm 工具
  • 常见问题
  • 案例
  • 更新日志
  • 豫ICP备20001572号

案例

    • 1.1. 案例

1.1. 案例

  • Gogs - github.com/gogits/gogs

  • Gowalker - github.com/Unknwon/gowalker

  • Gobuild.io - github.com/shxsun/gobuild

  • Sudo China - github.com/insionng/toropress

  • Godaily - github.com/govc/godaily

  • GoCMS - github.com/zzboy/GoCMS

  • GoBBS - gobbs.domolo.com

  • go-blog - github.com/easykoo/go-blog

results matching ""

    No results matching ""