gtbox_orm_sqlite

package
v0.1.43 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GTORMSqlite

type GTORMSqlite struct {
	SqliteDB    *gorm.DB
	SqliteError error
	// contains filtered or unexported fields
}

func Instance

func Instance() *GTORMSqlite

func (*GTORMSqlite) InsertData

func (gtSqlite *GTORMSqlite) InsertData(dataModel interface{}) error

func (*GTORMSqlite) OpenSqlite added in v0.0.88

func (gtSqlite *GTORMSqlite) OpenSqlite(sqlitePath string)

func (*GTORMSqlite) QueryData added in v0.0.88

func (gtSqlite *GTORMSqlite) QueryData(dataModel interface{}, conditions ...interface{}) error

Jump to

Keyboard shortcuts

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