package
module
Version:
v0.0.3
Opens a new window with list of versions in this module.
Published: Jan 2, 2024
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
sqlite
Provides an easy-to-use library for sqlite3 on top of modernc.org/sqlite
- Easy calls for
- Create
- Close
- Execute
- sqlite.DB().Execute("drop table if exists tests;")
- Query
- Returns an array map of keyed columns as strings and values as interfaces
- dat, err := sqlite.DB().Query("select id,name from tests order by id;")
- Types mapped to Go
- int -> int64
- float -> float64
- date as numeric -> int64, string
- blob -> stored as input
- null -> nil
Documentation
¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.