书栈网 · BookStack 本次搜索耗时 0.060 秒,为您找到 619 个相关结果.
  • 1. Getting Started with GORM

    1300 2017-12-16 《gorm文档(英文)》
    GORM Overview Install Upgrading To V1.0 Quick Start Contributors Supporting the project Author License GORM The fantastic ORM library for Golang, aims to be developer f...
  • 16.1 Multi-Tenancy GORM

    16.1 Multi-Tenancy GORM 16.1 Multi-Tenancy GORM GORM supports Multi-tenancy and integrates with Micronaut Multi-tenancy support. See the Micronaut Groovy module for more inf...
  • Part 13: Distributed persistence with CockroachDB and GORM

    1605 2019-04-30 《Go microservices》
    Go Microservices blog series, part 13 - data consistency, gorm and CockroachDB. 14 February 2018 // Erik Lupander Contents Source code 1. Overview 2. The CAP theorem 3. Cockr...
  • Gin实践 连载十 定制 GORM Callbacks

    5147 2018-09-04 《Golang Gin 实践》
    定制 GORM Callbacks 问题 解决 实现Callbacks 注册Callbacks 验证 拓展 实现Callbacks 注册Callbacks 验证 小结 参考 本系列示例代码 文档 定制 GORM Callbacks GORM itself is powered by Callbacks, so you co...
  • 社区

    Ask Chat Links Videos Open Sources Contribute to this page Ask How do I ask a good question? Stackoverflow - https://stackoverflow.com/questions/tagged/go-gorm Github ...
  • Scopes

    Query Pagination Dynamically Table Updates Scopes allow you to re-use commonly used logic, the shared logic needs to be defined as type func(*gorm.DB) *gorm.DB Query Scope ...
  • 3.1 Associations

    1010 2017-12-16 《gorm文档(英文)》
    Associations Belongs To Has One Has Many Many To Many Polymorphism Association Mode Associations Belongs To // `User` belongs to `Profile`, `ProfileID` is the foreign k...
  • 连接数据库

    2066 2020-06-11 《Go语言中文文档》
    1. 连接数据库 1.1. 连接数据库 1.2. 支持的数据库 1.2.1. MySQL 1.2.2. PostgreSQL 1.2.3. Sqlite3 1.2.4. SQL Server 1.3. 不支持的数据库 1. 连接数据库 1.1. 连接数据库 为了连接数据库,你首先要导入数据库驱动程序。例如: import _ ...
  • Connecting to Database

    MySQL Customize Driver Existing database connection PostgreSQL Customize Driver Existing database connection SQLite SQL Server Clickhouse Connection Pool Unsupported Data...
  • 连接到数据库

    连接到数据库 MySQL 自定义驱动 现有的数据库连接 PostgreSQL 自定义驱动 现有的数据库连接 SQLite SQL Server Clickhouse 连接池 不支持的数据库 连接到数据库 GORM 官方支持的数据库类型有: MySQL, PostgreSQL, SQlite, SQL Server MySQ...