Most functions are thin wrapper of TCADB APIs. All return form is or .
module yatce has application behaviour. use it as an application.
Gets a new yatce table 'object'. This operation doesn't open the file. Second argument is to be input to tcadbopen called against tcadb:open/0. In some cases '*' and '+' is available without bad support. Currently, hashdb (with suffix '.tch') and B+-tree database are supported. Other options (mainly tuning parameters) can be input as a form of .
Opens a table 'object'. Corresponds to tcadbopen in TC.
Closes a table 'object'. Corresponds to tcadbclose in TC.
Puts a data into the table. Corresponds to tcadbput in TC.
Puts a data into the table only if the record with same key doesn't exist. Corresponds to tcadbputkeep in TC.
Deletes the record. Corresponds to tcadbout in TC.
Gets the record. Corresponds to tcadbget in TC.
Initializes the iterator. The iterator is unique inside the table. Corresponds to tcadbinit in TC.
Iterates the iterator. Returns the value. Corresponds to tcadbnext in TC.
Calls tcadbsync in TC. Synchronizes the table with disk.
Removes all records in the table. Corresponds to tcadbvanish.
Gets the file name of the table with atom.
Gets the number of records. Corresponds to tcadbrnum.
Gets the size of table file. Corresponds to tcadbsize.
Returns the table 'object' itself.