书栈网 · BookStack 本次搜索耗时 0.040 秒,为您找到 842 个相关结果.
  • 数据库迁移

    388 2022-02-28 《Ent v0.10 教程》
    数据库迁移 自动迁移 删除资源 全局唯一ID Offline Mode Foreign Keys Migration Hooks Atlas Integration 数据库迁移 ent 的迁移支持功能,可使数据库 schema 与你项目根目录下的 ent/migrate/schema.go 中定义的 schema 对象保持一致。 自...
  • 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...
  • 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...
  • Generating Protobufs

    376 2021-09-30 《Ent v0.9 教程》
    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...
  • 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

    279 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...
  • 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...
  • 事务

    事务 启动一个事务 事务化客户端 最佳实践 钩子 Isolation Levels 事务 启动一个事务 // GenTx 在一次事务中生成一系列实体。 func GenTx ( ctx context . Context , client * ent . Client ) error { tx , err :=...
  • Automatic Migration

    Automatic Migration Auto Migration Drop Resources Universal IDs Offline Mode Foreign Keys Migration Hooks Atlas Integration Atlas Diff and Apply Hooks Diff Hook Example ...