205 int (*persist_remove)(
const char *table,
const kv_pair_arr *selector);
261 int (*persist_call)(
const char *procedure,
const char *
const *args,
size_t args_count,
kv_pair_arr *output_params);
Represents an ordered map of columns and their values.
Definition: persistence.h:160
kv_pair * selector
Definition: persistence.h:146
int(* filedb_init_function)(void *ctx, register_procedure_cb register_procedure_cb)
FileDB library initialisation functionFunction to be added to FileDB stored procedure libraries to re...
Definition: persistence.h:298
int(* filedb_library_function)(void *ctx, const char *const *args, const size_t args_count, kv_pair_arr *output_params)
FileDB library procedure functionFunction to be registered as a FileDB stored procedure.
Definition: persistence.h:284
Persistence execution functions.
Definition: persistence.h:182
size_t selector_count
Definition: persistence.h:145
void(* persistence_query_cb)(void *context, const kv_pair_arr *row)
Persistence query callback typeFor every entry returned by a persistence query a function of this typ...
Definition: persistence.h:170
kv_pair * pairs
Definition: persistence.h:162
char * field
Definition: persistence.h:136
size_t limit
Definition: persistence.h:151
persist_ordering
enum defining sort order
Definition: persistence.h:130
char * value
Definition: persistence.h:124
persist_ordering ord
Definition: persistence.h:137
structure holding name-persist_ordering pairs to specify ordering criteria per column and use in quer...
Definition: persistence.h:135
void(* register_procedure_cb)(char *function_name, filedb_library_function function)
Register FileDB stored procedure callbackCallback to register stored procedure functions for FileDB...
Definition: persistence.h:291
int patch
Definition: persistence.h:184
char * field
Definition: persistence.h:123
kv_ord * ordering
Definition: persistence.h:149
struct to hold arguments for queryies
Definition: persistence.h:144
int version
Definition: persistence.h:183
structure holding name-value pairs for use in query_params and kv_pair_arr
Definition: persistence.h:122
size_t order_count
Definition: persistence.h:148
size_t count
Definition: persistence.h:161