Documentation ¶
Overview ¶
Package native implements the jdh native database.
Index ¶
- type DB
- func (db *DB) Add(table jdh.Table, dec *json.Decoder) (string, error)
- func (db *DB) Commit() error
- func (db *DB) Delete(table jdh.Table, vals []jdh.KeyValue) error
- func (db *DB) Get(table jdh.Table, id string) (interface{}, error)
- func (db *DB) List(table jdh.Table, vals []jdh.KeyValue) (*list.List, error)
- func (db *DB) Set(table jdh.Table, vals []jdh.KeyValue) 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
}
DB holds the database information.
Click to show internal directories.
Click to hide internal directories.