Documentation ¶
Index ¶
- type DB
- func (db *DB) CreateTable(tableName string) error
- func (db *DB) DeleteById(id string, tableName string) error
- func (db *DB) DeleteTable(tableName string) error
- func (db *DB) GetRecordByDistrictId(id string, tableName string) ([]map[string]interface{}, error)
- func (db *DB) GetRecordById(id string, tableName string) (map[string]interface{}, error)
- func (db *DB) PutRecord(item model.Record, tableName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) CreateTable ¶
func (*DB) DeleteTable ¶
func (*DB) GetRecordByDistrictId ¶
func (*DB) GetRecordById ¶
Click to show internal directories.
Click to hide internal directories.