书栈网 · BookStack 本次搜索耗时 0.049 秒,为您找到 842 个相关结果.
  • 引言

    引言 概述 它只是又一个 ORM 引言 概述 Schema 描述了图中一个实体类型的定义,如 User 或 Group , 并可以包含以下配置: 实体的字段 (或属性),如:User 的姓名或年龄。 实体的边 (或关系)。如:User 所属用户组,或 User 的朋友。 数据库相关的配置,如:索引或唯一索引。 下面是 Schema ...
  • 引言

    引言 概述 它只是又一个 ORM 引言 概述 Schema 描述了图中一个实体类型的定义,如 User 或 Group , 并可以包含以下配置: 实体的字段 (或属性),如:User 的姓名或年龄。 实体的边 (或关系)。如:User 所属用户组,或 User 的朋友。 数据库相关的配置,如:索引或唯一索引。 下面是 Schema ...
  • 字段

    693 2022-02-28 《Ent v0.10 教程》
    字段 概述 类型 ID 字段 数据库字段类型 Go 类型 其它字段 默认值 校验器 内置校验器 Optional 可选项 Nillable 空值 Immutable 不可变的 唯一键 存储键名 索引 结构体标记(tags) 附加元数据字段 敏感字段 枚举字段 注解 命名规范 字段 概述 Schema 中的字段...
  • 字段

    1168 2021-09-30 《Ent v0.9 教程》
    字段 概述 类型 ID 字段 数据库字段类型 Go 类型 其它字段 默认值 校验器 内置校验器 Optional 可选项 Nillable 空值 Immutable 不可变的 唯一键 存储键名 索引 结构体标记(tags) 附加元数据字段 敏感字段 枚举字段 注解 命名规范 字段 概述 Schema 中的字段...
  • Fields

    Fields Quick Summary Types ID Field Database Type Go Type Other Field Default Values Validators Built-in Validators Optional Nillable Immutable Uniqueness Storage Key ...
  • Database Migration

    Database Migration Auto Migration Drop Resources Universal IDs Offline Mode Foreign Keys Migration Hooks Atlas Integration Database Migration The migration support for en...
  • Graph Traversal

    255 2022-02-28 《Ent v0.10 教程》
    Graph Traversal Graph Traversal For the purpose of the example, we’ll generate the following graph: The first step is to generate the 3 schemas: Pet , User , Group . go run ...
  • Generating Protobufs

    215 2022-10-19 《Ent v0.11 教程》
    Generating Protobufs with entproto Generating Protobufs with entproto As Ent and Protobuf schemas are not identical, we must supply some annotations on our schema to help entpro...
  • Generating Protobufs

    Generating Protobufs with entproto Generating Protobufs with entproto As Ent and Protobuf schemas are not identical, we must supply some annotations on our schema to help entpro...
  • Graph Traversal

    Graph Traversal Graph Traversal For the purpose of the example, we’ll generate the following graph: The first step is to generate the 3 schemas: Pet , User , Group . go run ...