About 72 results
Open links in new tab
  1. GORM 指南 | GORM - The fantastic ORM library for Golang, aims to be ...

    Dec 30, 2025 · 复合主键,索引,约束 Auto Migration 自定义 Logger Generics API for type-safe queries and operations Extendable, flexible plugin API: Database Resolver (multiple databases, read/write …

  2. GORM - The fantastic ORM library for Golang, aims to be developer …

    The fantastic ORM library for Golang aims to be developer friendly.

  3. GORM Guides | GORM - The fantastic ORM library for Golang, aims to …

    Dec 30, 2025 · Composite Primary Key, Indexes, Constraints Auto Migrations Logger Generics API for type-safe queries and operations Extendable, flexible plugin API: Database Resolver (multiple …

  4. Query | GORM - The fantastic ORM library for Golang, aims to be ...

    Dec 30, 2025 · GORM provides First, Take, Last methods to retrieve a single object from the database, it adds LIMIT 1 condition when querying the database, and it will return the error ErrRecordNotFound …

  5. Declaring Models | GORM - The fantastic ORM library for Golang, aims …

    Dec 30, 2025 · GORM simplifies database interactions by mapping Go structs to database tables. Understanding how to declare models in GORM is fundamental for leveraging its full capabilities.

  6. Connecting to a Database | GORM - The fantastic ORM library for …

    Dec 30, 2025 · Existing database connection GORM allows to initialize *gorm.DB with an existing database connection

  7. Create | GORM - The fantastic ORM library for Golang, aims to be ...

    Dec 30, 2025 · GORM will generate a single SQL statement to insert all the data and backfill primary key values, hook methods will be invoked too. It will begin a transaction when records can be split into …

  8. Gen Guides | GORM - The fantastic ORM library for Golang, aims to be ...

    Dec 30, 2025 · GEN GuidesGEN: Friendly & Safer GORM powered by Code Generation. Overview Idiomatic & Reusable API from Dynamic Raw SQL 100% Type-safe DAO API without interface {} …

  9. 连接到数据库 | GORM - The fantastic ORM library for Golang, aims to …

    Dec 30, 2025 · The GORM Driver for Oracle provides support for Oracle Database, enabling full compatibility with GORM’s ORM capabilities. It is built on top of the Go Driver for Oracle (Godror) …

  10. 模型定义 | GORM - The fantastic ORM library for Golang, aims to be ...

    Dec 30, 2025 · GORM 通过将 Go 结构体(Go structs) 映射到数据库表来简化数据库交互。 了解如何在GORM中定义模型,是充分利用GORM全部功能的基础。 模型定义模型是使用普通结构体定义的。