sqlite

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MSG_FUNCION_NOT_FOUND = "Function not found"
)

Variables

This section is empty.

Functions

func NewDriver

func NewDriver() jdb.Driver

Types

type SqlLite

type SqlLite struct {
	// contains filtered or unexported fields
}

func (*SqlLite) ChangePassword

func (s *SqlLite) ChangePassword(username, password, confirmation string) error

* * ChangePassword * @param username string, password string, confirmation string * @return error *

func (*SqlLite) Command

func (s *SqlLite) Command(command *jdb.Command) (et.Items, error)

func (*SqlLite) Connect

func (s *SqlLite) Connect(params et.Json) error

* * Connect * @param params et.Json * @return error *

func (*SqlLite) Count

func (s *SqlLite) Count(ql *jdb.Ql) (int, error)

func (*SqlLite) CreateCore added in v1.0.6

func (s *SqlLite) CreateCore() error

func (*SqlLite) CreateDatabase

func (s *SqlLite) CreateDatabase(name string) error

* * CreateDatabase * @param name string * @return error *

func (*SqlLite) CreateModel added in v1.0.6

func (s *SqlLite) CreateModel(model *jdb.Model) error

func (*SqlLite) CreateSchema added in v1.0.6

func (s *SqlLite) CreateSchema(name string) error

Schema

func (*SqlLite) CreateUser

func (s *SqlLite) CreateUser(username, password, confirmation string) error

* * CreateUser * @param username string, password string, confirmation string * @return error *

func (*SqlLite) CurrentSerie

func (s *SqlLite) CurrentSerie(tag string) int64

func (*SqlLite) Data added in v1.0.6

func (s *SqlLite) Data(source, sql string, arg ...any) (et.Items, error)

func (*SqlLite) DeleteUser

func (s *SqlLite) DeleteUser(username string) error

* * DeleteUser * @param username string * @return error *

func (*SqlLite) Disconnect

func (s *SqlLite) Disconnect() error

func (*SqlLite) DropDatabase

func (s *SqlLite) DropDatabase(name string) error

* * DropDatabase * @param name string * @return error *

func (*SqlLite) DropModel

func (s *SqlLite) DropModel(model *jdb.Model) error

func (*SqlLite) DropSchema

func (s *SqlLite) DropSchema(name string) error

func (*SqlLite) Exec added in v1.0.6

func (s *SqlLite) Exec(sql string, arg ...any) error

func (*SqlLite) Exists

func (s *SqlLite) Exists(ql *jdb.Ql) (bool, error)

func (*SqlLite) GetSerie

func (s *SqlLite) GetSerie(tag string) int64

func (*SqlLite) GrantPrivileges

func (s *SqlLite) GrantPrivileges(username, database string) error

* * GrantPrivileges * @param username string, database string * @return error *

func (*SqlLite) LoadTable added in v1.0.6

func (s *SqlLite) LoadTable(model *jdb.Model) (bool, error)

func (*SqlLite) Name

func (s *SqlLite) Name() string

func (*SqlLite) NextCode

func (s *SqlLite) NextCode(tag, prefix string) string

func (*SqlLite) One added in v1.0.6

func (s *SqlLite) One(sql string, arg ...any) (et.Item, error)

func (*SqlLite) Query

func (s *SqlLite) Query(sql string, arg ...any) (et.Items, error)

func (*SqlLite) SaveModel added in v1.0.7

func (s *SqlLite) SaveModel(model *jdb.Model) error

func (*SqlLite) Select

func (s *SqlLite) Select(ql *jdb.Ql) (et.Items, error)

func (*SqlLite) SetMain

func (s *SqlLite) SetMain(arg et.Json) error

func (*SqlLite) SetSerie

func (s *SqlLite) SetSerie(tag string, val int) int64

Jump to

Keyboard shortcuts

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