书栈网 · BookStack 本次搜索耗时 0.043 秒,为您找到 24917 个相关结果.
  • 2. 数据库

    2465 2018-05-17 《GORM 1.0 中文文档》
    数据库 连接数据库 {#dbc} MySQL PostgreSQL Sqlite3 不支持的数据库 迁移 {#m} 自动迁移 检查表是否存在 创建表 删除表 修改列 删除列 添加外键 索引 数据库 连接数据库 {#dbc} 要连接到数据库首先要导入驱动程序。例如 import _ "github.com/go-s...
  • Transactions

    Transactions CodeIgniter’s Approach to Transactions Running Transactions Strict Mode Managing Errors Disabling Transactions Test Mode Running Transactions Manually Trans...
  • 6. Advanced Usage

    1020 2017-12-16 《gorm文档(英文)》
    Advanced Usage Error Handling Transactions A Specific Example SQL Builder Run Raw SQL sql.Row & sql.Rows Scan sql.Rows In Iteration Generic database interface sql.DB Connec...
  • JSON

    JSON Functions and Operators Constructing JSON Values JSON Functions and Operators json JSON scalar type json[i] JSON array/string indexing. json[from:to] JSON array/st...
  • Migration

    Auto Migration Migrator Interface CurrentDatabase Tables Columns Constraints Indexes Constraints Other Migration Tools Auto Migration Automatically migrate your schema, ...
  • 7. Development

    867 2017-12-16 《gorm文档(英文)》
    Development Architecture Write Plugins Register a new callback Delete an existing callback Replace an existing callback Register callback orders Pre-Defined Callbacks De...
  • 2. Database

    1170 2017-12-16 《gorm文档(英文)》
    Database Connecting to a database MySQL PostgreSQL Sqlite3 SQL Server Write Dialect for unsupported databases Migration Auto Migration Has Table Create Table Drop table ...
  • Literals

    Literals Strings Booleans Numbers UUID Enums Dates and times Durations Exact durations Relative durations Date durations Ranges Bytes Arrays Tuples Indexing tuples J...
  • Query

    Retrieving a single object Retrieving objects with primary key Retrieving all objects Conditions String Conditions Struct & Map Conditions Specify Struct search fields Inline...
  • MySQLdb 获取结果

    MySQLdb 获取结果 MySQLdb 获取结果 原文: https://thepythonguru.com/fetching-results/ 于 2020 年 1 月 7 日更新 在上一篇文章中,我们看到了如何使用execute() 方法执行 sql 查询。 execute() 方法返回受影响的行,但不返回结果。 要获取结果,我...