wetube/bitcloud

Bitcloud.c: Test core db functions

Opened this issue · 0 comments

Ensure the core Bitcloud DB functions operate:

bitcloud -addrecord TABLE:COL1,COL2,COL3,....COLn

the above is an example of a basic command line interface to test whether the DB functions work.

bitcloud -updaterecord TABLE:PRIMARY_KEY_VALUE,COL2,COL3...COLn

the above assumes the first column is the primary key

bitcloud -deleterecord TABLE:PRIMARY_KEY

output the total table contents to the terminal after the above command runs to ensure the record was properly removed