sqlite

package
v0.0.28 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2026 License: MIT Imports: 8 Imported by: 0

README

一、调用说明:
sqlite 可以指定数据库文件名,如 :
    db = sqlite.GormSQLite("mydb.data") 
或db = sqlite.GormSQLite("/home/data/db.dat") 
或db = sqlite.GormSQLite("d:\\db\abc.data")  

也可以不指定数据文件名,此时数据文件名默认放在 data\db.dat文件中,如:
sqlite.GormSQLite("")   

二、data目录
db_template.dat是空的sqlite3格式的文件。
db.dat也是空的sqlite3格式的文件。

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GormSQLite

func GormSQLite(dbFile string) (*gorm.DB, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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