sqlboiler_sqlite3

package
v2.0.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2024 License: MPL-2.0 Imports: 11 Imported by: 0

README

sqlboiler_sqlite配置

sqlite配置必须在[sdk]段落下, 同时必须包含[sdk.log], 日志能力[sdk.log]的配置是最基本需求的配置,不管使用sdk的时候是否具有其他能力, 日志配置信息必须要包含

配置示例

[sdk.sqlite]
    dbname="test.db"

sqlboiler_sqlite使用指南

示例

    

Documentation

Index

Constants

This section is empty.

Variables

Functions

func Connect

func Connect(dbFile string) (intf.DbClient, error)

Connect 从指定的文件创建创建数据库连接

func New

func New(configProvider intf.ConfigProvider, logger intf.LoggerProvider) (intf.DbProvider, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL