Documentation
¶
Index ¶
- type Client
- type Column
- type Database
- func (db *Database) CreateTable(name string, schema []*Column) error
- func (db *Database) Execute(query string) ([]*Row, error)
- func (db *Database) InsertRow(tableName string, values map[string]interface{}) error
- func (db *Database) SelectRows(tableName string, columns []string, where string) ([]*Row, error)
- type Row
- type Server
- type Table
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
func NewDatabase ¶
func NewDatabase() *Database
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) CreateDatabase ¶
func (*Server) DeleteDatabase ¶
Click to show internal directories.
Click to hide internal directories.