书栈网 · BookStack 本次搜索耗时 0.029 秒,为您找到 718 个相关结果.
  • 12.2.2 Configuring Hibernate

    12.2.2 Configuring Hibernate Setting up a Hibernate/JPA EntityManager Using GORM for Hibernate 12.2.2 Configuring Hibernate Setting up a Hibernate/JPA EntityManager Using...
  • 12.2.2 Configuring Hibernate

    12.2.2 Configuring Hibernate Setting up a Hibernate/JPA EntityManager Using GORM for Hibernate 12.2.2 Configuring Hibernate Setting up a Hibernate/JPA EntityManager Using...
  • 12.2.2 Configuring Hibernate

    12.2.2 Configuring Hibernate Setting up a Hibernate/JPA EntityManager Using GORM for Hibernate 12.2.2 Configuring Hibernate Setting up a Hibernate/JPA EntityManager Using...
  • 创建

    创建记录 用指定的字段创建记录 批量插入 创建钩子 根据 Map 创建 使用 SQL 表达式、Context Valuer 创建记录 高级选项 关联创建 默认值 Upsert 及冲突 创建记录 user := User { Name : "Jinzhu" , Age : 18 , Birthday : time...
  • 约束

    检查约束 索引约束 外键约束 GORM 允许通过标签创建数据库约束,约束会在通过 GORM 进行 AutoMigrate 或创建数据表 时被创建。 检查约束 通过 check 标签创建检查约束 type UserIndex struct { Name string `gorm:"check:name_check...
  • Database Resolver

    Usage Automatic connection switching Read/Write Splitting Manual connection switching Transaction Load Balancing Connection Pool DBResolver adds multiple databases support ...
  • Database Resolver

    Usage Automatic connection switching Read/Write Splitting Manual connection switching Transaction Load Balancing Connection Pool DBResolver adds multiple databases support ...
  • Settings

    Set / Get InstanceSet / InstanceGet GORM provides Set , Get , InstanceSet , InstanceGet methods allow users pass values to hooks or other methods GORM uses this for some feat...
  • Many To Many

    Many To Many 反向引用 重写外键 自引用 Many2Many 预加载 Many2Many 的 CURD 自定义连接表 外键约束 复合外键 Many To Many Many to Many 会在两个 model 中添加一张连接表。 例如,您的应用包含了 user 和 language,且一个 user 可以说多种 lang...
  • Many To Many

    Many To Many 反向引用 声明 检索 重写外键 自引用 Many2Many 预加载 Many2Many 的 CURD 自定义连接表 外键约束 复合外键 Many To Many Many to Many 会在两个 model 中添加一张连接表。 例如,您的应用包含了 user 和 language,且一个 user 可以...