Skip to content

Methods

DadiBit edited this page Jul 15, 2022 · 4 revisions

The kuli global variable has some methods that allow to read and append data from/to a database.

Each method that accepts a kuli_t interface returns the interface passed in the arguments. Because kuli_t implements the append method (if created with kuli.new), you can nicely chain append calls:

kuli
.append(k, &a)
.append(k, &b)
.append(k, &c);

full implementation in tests/write.c

Clone this wiki locally