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

    Generating Schemas Introduction API Loading Printing Mutators Working with Edges Examples Caveats Generating Schemas Introduction To facilitate the creation of tooling ...
  • 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 ...
  • 索引

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

    Annotations Custom Table Name Foreign Keys Configuration Annotations Schema annotations allow attaching metadata to schema objects like fields and edges and inject them to ext...
  • 聚合

    聚合 Aggregation Group By Group By Edge Having + Group By 聚合 Aggregation The Aggregate option allows adding one or more aggregation functions. package main import ( ...
  • Quick Introduction

    Quick Introduction Setup A Go Environment Create Your First Schema Create Your First Entity Query Your Entities Add Your First Edge (Relation) Add Your First Inverse Edge (Bac...
  • 整合sql.DB

    258 2022-02-28 《Ent v0.10 教程》
    整合sql.DB 配置sql.DB 通过MySQL驱动使用Opencensus 使用pgx驱动PostgreSQL 整合sql.DB 下面的示例将展示,如何使用sql.DB 对象对ent.Client 进行配置。 配置sql.DB 第一种形式: package main import ( "time" ...
  • 整合sql.DB

    204 2022-10-19 《Ent v0.11 教程》
    整合sql.DB 配置sql.DB 通过MySQL驱动使用Opencensus 使用pgx驱动PostgreSQL 整合sql.DB 下面的示例将展示,如何使用sql.DB 对象对ent.Client 进行配置。 配置sql.DB 第一种形式: package main import ( "time" ...
  • 注解

    注解 自定义表名 Custom Table Schema Foreign Keys Configuration Database Comments 注解 结构注解(Schema annotations) 允许附加元数据到结构对象(例如字段和边) 上面,并且将元数据注入到外部模板中。 注解是一种Go类型,它能进行JSON序列化(例如 struct...