package
Version:
v4.2.1-alpha
Opens a new window with list of versions in this module.
Published: Jul 20, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
Package sql is for a sql database model
The sql DB
NewDB provides a new database connection. If [name].db.address is found
in the config then it's used as the address, otherwise we use sqlite.
func (d *DB) Create(v interface{}) error
func (d *DB) Delete(v interface{}) error
func (d *DB) Query(res interface{}, where ...interface{}) error
func (d *DB) Read(v interface{}) error
func (d *DB) Register(v interface{}) error
func (d *DB) Update(v interface{}) error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.