书栈网 · BookStack 本次搜索耗时 0.072 秒,为您找到 849 个相关结果.
  • 快速指南

    1056 2022-02-28 《Ent v0.10 教程》
    快速指南 初始化Go环境 安装 创建你的第一个结构 创建你的第一个实体 查询你的实体 添加你的第一条边 (关系) 添加您的第一条逆向边(反向引用) 创建你的第二条边 进行第一次图遍历 完整示例 快速指南 ent 是一个简单而又强大的Go实体框架,易于构建和维护应用程序与大数据模型: 简单地使用数据库结构作为图结构。 使用Go代...
  • Multi-Schema Migration

    Multi-Schema Migration Install Atlas Login to Atlas Annotate your Ent schemas Generate migrations Multi-Schema Migration Using the Atlas migration engine, an Ent schema can...
  • 注解

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

    Introduction Clone the code (optional) Basic Skeleton Connect Ent to GQL Run the server Query Todos Create a Todo Introduction In this section, we will learn how to connec...
  • 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

    316 2022-10-19 《Ent v0.11 教程》
    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...
  • Edges

    564 2022-10-19 《Ent v0.11 教程》
    Edges Quick Summary To and From Relationship O2O Two Types O2O Same Type O2O Bidirectional O2M Two Types O2M Same Type M2M Two Types M2M Same Type M2M Bidirectional Edge...
  • 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 ...
  • Views

    Views Introduction Migration and Testing Go Definition External Definition Usage Inspect the Schema Generate Migrations For the Schema Apply the Migrations Insertable/Upda...
  • Views

    Views Introduction Migration and Testing Go Definition External Definition Usage Inspect the Schema Generate Migrations For the Schema Apply the Migrations Insertable/Upda...