Documentation ¶
Index ¶
- func CreateDatabase(path string, name string) error
- type Database
- func (d *Database) CreateTable(name string, fields map[string]field.Field, options request.TableOptions) error
- func (d *Database) Delete() error
- func (d *Database) DeleteTable(tableName string) error
- func (d *Database) Get(tableName string, request table.Request) ([]map[string]json.RawMessage, error)
- func (d *Database) GetTable(tableName string) (map[string]request.Field, *request.TableOptions, error)
- func (d *Database) GetTableNames() []string
- func (d *Database) Insert(tableName string, o map[string]json.RawMessage) error
- func (d *Database) Kill()
- func (d *Database) Remove(tableName string, request table.Request) (int64, error)
- func (d *Database) Update(tableName string, o map[string]json.RawMessage) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDatabase ¶
Types ¶
type Database ¶
type Database struct { Name string // contains filtered or unexported fields }
func NewDatabase ¶
func (*Database) CreateTable ¶
func (*Database) DeleteTable ¶
func (*Database) GetTableNames ¶
Click to show internal directories.
Click to hide internal directories.