Initial commit, adding work to date.
FossilOrigin-Name: e866fb59b96496de50c85d483ec89bdb8f48fb2d24c43b8bfecdc0a968962114
This commit is contained in:
parent
ef8d5a489e
commit
9ee085d86b
12 changed files with 2486 additions and 0 deletions
25
src/kuzu/types.nim
Normal file
25
src/kuzu/types.nim
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# vim: set et sta sw=4 ts=4 :
|
||||
|
||||
type
|
||||
KuzuDBObj = object
|
||||
handle*: kuzu_database
|
||||
path*: string
|
||||
config*: kuzu_system_config
|
||||
KuzuDB* = ref KuzuDBObj
|
||||
|
||||
KuzuConnectionObj = object
|
||||
handle*: kuzu_connection
|
||||
KuzuConnection* = ref KuzuConnectionObj
|
||||
|
||||
KuzuQueryResultObj = object
|
||||
handle*: kuzu_query_result
|
||||
summary: kuzu_query_summary
|
||||
num_columns*: uint64 = 0
|
||||
num_tuples*: uint64 = 0
|
||||
compile_time*: cdouble = 0
|
||||
execution_time*: cdouble = 0
|
||||
KuzuQueryResult* = ref KuzuQueryResultObj
|
||||
|
||||
KuzuException* = object of CatchableError
|
||||
KuzuQueryException* = object of KuzuException
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue