Documentation ¶
Index ¶
- func MapKeys[T any](input map[string]T) []string
- type ColumnSet
- type Dump
- type Set
- type T
- func (t *T) DeleteDuplicates() (uint, error)
- func (t *T) DeleteRows(rawCondition ColumnSet) (uint, error)
- func (t *T) Dump(tableName string) (*Dump, error)
- func (t *T) InsertRows(rows *[]ColumnSet) (uint, error)
- func (t *T) LoadDump(data *[]ColumnSet) error
- func (t *T) Schema() schema.T
- func (t *T) SelectRows(columns *[]string, conditions ColumnSet) (*[]ColumnSet, error)
- func (t *T) UpdateRows(rawCondition ColumnSet, newRawData ColumnSet) (uint, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Dump ¶
type Dump struct { Schema schema.T `json:"schema"` Data []ColumnSet `json:"data"` Name string `json:"name"` }
Dump table.
type T ¶
type T struct {
// contains filtered or unexported fields
}
func (*T) DeleteRows ¶
Update rows from table
func (*T) SelectRows ¶
Select data from table, empty columns list and empty conditions considered as "select all"
Click to show internal directories.
Click to hide internal directories.