summaryrefslogtreecommitdiff
path: root/system/db/query.go
blob: c9cf37cd2829628ab011a5a79ea4d33f6b4338db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package db

// Set inserts or updates values in the database.
// The `key` argument is a string made up of namespace:id (string:int)
func Set(key string) error {

	return nil
}

// Get retrives one item from the database. Non-existent values will return an empty []byte
// The `key` argument is a string made up of namespace:id (string:int)
func Get(key string) []byte {

	return nil
}

// GetAll retrives all items from the database within the provided namespace
func GetAll(namespace string) [][]byte {

	return nil
}