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

    索引 多个字段 边上的索引 Index On Edge Fields Dialect Support Atlas Support Storage Key 索引 多个字段 索引可以在一个或多个字段上配置以提高数据检索速度,也可以定义其唯一性。 package schema import ( "entgo.io/...
  • Mixin

    Mixin 示例 内置Mixin Mixin Mixin 允许您创建可复用的 ent.Schema 代码,用与合成添加到其他 schemas ent.Mixin 接口如下: type Mixin interface { // Fields 数组的返回值会被添加到 schema 中。 Fields ()...
  • Mixin

    Mixin 示例 内置Mixin Mixin Mixin 允许您创建可复用的 ent.Schema 代码,用与合成添加到其他 schemas ent.Mixin 接口如下: type Mixin interface { // Fields 数组的返回值会被添加到 schema 中。 Fields ()...
  • Mixin

    415 2021-09-30 《Ent v0.9 教程》
    Mixin 示例 内置Mixin Mixin Mixin 允许您创建可复用的 ent.Schema 代码,用与合成添加到其他 schemas ent.Mixin 接口如下: type Mixin interface { // Fields 数组的返回值会被添加到 schema 中。 Fields ()...
  • Aggregation

    Aggregation Aggregation Group By Group By Edge Having + Group By Aggregation Aggregation The Aggregate option allows adding one or more aggregation functions. package ma...
  • Filter Inputs

    384 2021-09-30 《Ent v0.9 教程》
    Filter Inputs Clone the code (optional) Configure Ent If your project contains more than 1 GraphQL schema (e.g. todo.graphql and ent.graphql ), you should configure gqlgen.yml ...
  • Introduction

    Introduction Quick Summary It’s Just Another ORM Introduction Quick Summary Schema describes the definition of one entity type in the graph, like User or Group , and can con...
  • GraphQL Integration

    GraphQL Integration Quick Introduction Node API GQL Configuration Pagination Connection Ordering Usage Notes Example Defining order fields in ent/schema Define ordering type...
  • Versioned Migrations

    Versioned Migrations Quick Guide Generating migrations Applying migrations Migration status In Depth Guide Generating Versioned Migration Files Option 1: Use the atlas migrate ...
  • Versioned Migrations

    Versioned Migrations Quick Guide Generating migrations Applying migrations Migration status In Depth Guide Generating Versioned Migration Files Option 1: Use the atlas migrate ...