Implement an in-memory databasewqa

This commit is contained in:
2021-06-19 17:47:36 -04:00
parent 9af3f78659
commit b66f5ebe67
14 changed files with 931 additions and 1 deletions
+15
View File
@@ -0,0 +1,15 @@
package ramdb
import "errors"
var (
ErrNoTable = errors.New("table does not exist")
ErrTableExists = errors.New("table already exists")
ErrNoRecord = errors.New("record does not exist")
ErrRecordExists = errors.New("record already exists")
ErrNoIndex = errors.New("index does not exist")
ErrInvalidIndex = errors.New("invalid index column")
ErrIndexExists = errors.New("index already exists")
)