sqlite

package
v0.1.20 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MSG_FUNCION_NOT_FOUND     = "Function not found"
	MSG_COMMAND_NOT_FOUND     = "Command not found"
	MSG_VERSION_NOT_SUPPORTED = "SQLite version:%s json_object is not supported"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection added in v0.1.20

type Connection struct {
	Database string `json:"database"`
	Version  int    `json:"version"`
}

func (*Connection) Chain added in v0.1.20

func (s *Connection) Chain() (string, error)

* * Chain * @return string, error *

func (*Connection) ToJson added in v0.1.20

func (s *Connection) ToJson() et.Json

* * ToJson * @return et.Json *

func (*Connection) Validate added in v0.1.20

func (s *Connection) Validate() error

* * Validate * @return error *

type SqlLite

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

func (*SqlLite) Command

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

* * Command * @param command *jdb.Command * @return et.Items, error *

func (*SqlLite) Connect

func (s *SqlLite) Connect(connection jdb.ConnectParams) (*sql.DB, error)

* * Connect * @param connection jdb.ConnectParams * @return error *

func (*SqlLite) Count

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

* * Count * @param ql *jdb.Ql * @return int, error *

func (*SqlLite) Disconnect

func (s *SqlLite) Disconnect() error

* * Disconnect * @return error *

func (*SqlLite) DropModel

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

* * DropModel * @param model *jdb.Model * @return error *

func (*SqlLite) EmptyModel added in v0.1.18

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

* * EmptyModel * @param model *jdb.Model * @return error *

func (*SqlLite) Exists

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

* * Exists * @param ql *jdb.Ql * @return bool, error *

func (*SqlLite) LoadModel

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

* * LoadModel * @param model *jdb.Model * @return error *

func (*SqlLite) MutateModel

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

* * MutateModel * @param model *jdb.Model * @return error *

func (*SqlLite) Name

func (s *SqlLite) Name() string

func (*SqlLite) Select

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

* * Select * @param ql *jdb.Ql * @return et.Items, error *

Jump to

Keyboard shortcuts

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