书栈网 · BookStack 本次搜索耗时 0.069 秒,为您找到 842 个相关结果.
  • GraphQL 集成

    218 2022-10-19 《Ent v0.11 教程》
    GraphQL 集成 快速指南 Node API GQL 配置 分页 连接顺序 Usage Notes 样例 Defining order fields in ent/schema Define ordering types in GraphQL schema Adding orderBy argument to the pagination...
  • 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...
  • 注解

    390 2022-02-28 《Ent v0.10 教程》
    注解 自定义表名 外键配置 注解 结构注解(Schema annotations) 允许附加元数据到结构对象(例如字段和边) 上面,并且将元数据注入到外部模板中。 注解是一种Go类型,它能进行JSON序列化(例如 struct, map 或 slice),并且需要实现Annotation 接口。 内置注解能够配置不同的存储驱动(例如 SQL),控...
  • Multiple Schema Migrations

    Multiple Schema Migrations Install Atlas Login to Atlas Annotate your Ent schemas Generate migrations Multiple Schema Migrations Using the Atlas migration engine, an Ent sc...
  • Working with Edges

    Working with Edges Creating Entities with their Edges Retrieving Edge IDs for Entities Working with Edges Edges enable us to express the relationship between different entitie...
  • Working with Edges

    Working with Edges Creating Entities with their Edges Retrieving Edge IDs for Entities Working with Edges Edges enable us to express the relationship between different entitie...
  • Working with Edges

    Working with Edges Creating Entities with their Edges Retrieving Edge IDs for Entities Working with Edges Edges enable us to express the relationship between different entitie...
  • 820 2021-09-30 《Ent v0.9 教程》
    边 概述 To 和 From 关系 一对一( O2O)两者之间 一对一(O2O)自引用 一对一(O2O)双向自引用 一对多(O2M )两者之间 一对多(O2M )自引用 多对多(M2M )两者之间 多对多(M2M )自引用 多对多(M2M)双向自引用 边字段 Migration To Edge Fields Required 存...
  • Mutation Inputs

    Mutation Inputs Clone the code (optional) Mutation Types Mutations Test the CreateTodo Resolver Mutation Output Mutation Output Test the UpdateTodo Resolver Output Cre...
  • Mutation Inputs

    Mutation Inputs Clone the code (optional) Mutation Types Mutations Test the CreateTodo Resolver Mutation Output Mutation Output Test the UpdateTodo Resolver Output Cre...