Next: Byte Array Data Traversal Functions, Previous: Table Functions, Up: Top [Index]
void db_delete(table t, data k);
deletes the k key from table t.
integer db_first(data d, table t, data k);
is zero if table t maps no key, non zero otherwise. In the latter case k is set to the first mapped key and d to its associated data.
data db_fix(table t, data k, data d);
is d, associates the content of d to key k in table t.
void db_get(data d, table t, data k);
sets d to the associated data of key k in table t.
void db_glcx(table t, data g, data l);
deletes the keys in table t greater than g and less than l.
void db_gocx(table t, data g, data o);
deletes the keys in table t greater than g and less than or matching o.
integer db_i_greater(data d, table t, data k);
is zero if table t maps no greater key than k, non zero otherwise. In the latter case k is set to the first mapped greater key and d to its associated data.
integer db_i_less(data d, table t, data k);
is zero if table t maps no lesser key than k, non zero otherwise. In the latter case k is set to the last mapped lesser key and d to its associated data.
integer db_i_lower(data d, table t, data k);
is zero if table t maps no matching or lesser key than k, non zero otherwise. In the latter case k is set to the last mapped not greater key and d to its associated data.
integer db_i_upper(data d, table t, data k);
is zero if table t maps no matching or greater key than k, non zero otherwise. In the latter case k is set to the first mapped not less key and d to its associated data.
integer db_ik_greater(table t, data k);
is zero if table t maps no greater key than k, non zero otherwise. In the latter case k is set to the first mapped greater key.
integer db_ik_less(table t, data k);
is zero if table t maps no lesser key than k, non zero otherwise. In the latter case k is set to the last mapped lesser key.
integer db_ik_lower(table t, data k);
is zero if table t maps no matching or lesser key than k, non zero otherwise. In the latter case k is set to the last mapped not greater key.
integer db_ik_upper(table t, data k);
is zero if table t maps no matching or greater key than k, non zero otherwise. In the latter case k is set to the first mapped not less key.
integer db_jack(data d, table t, data k);
is non zero if table t has a key k, zero if it doesn’t. Sets d to the k associated data for a non zero evaluation.
integer db_k_first(table t, data k);
is zero if table t maps no key, non zero otherwise. In the latter case k is set to the first mapped key.
integer db_k_last(table t, data k);
is zero if table t maps no key, non zero otherwise. In the latter case k is set to the last mapped key.
integer db_key(table t, data k);
is non zero if table t has a key k, zero if it doesn’t.
integer db_last(data d, table t, data k);
is zero if table t maps no key, non zero otherwise. In the latter case k is set to the last mapped key and d to its associated data.
integer db_over(data d, table t, data k);
is non zero if table t has a key k, zero if it doesn’t. Sets d to the k associated data for a non zero evaluation and removes the key from t.
data db_pick(table t, data k);
is the k key associated data in table t, k is removed from t.
data db_put(table t, data k, data d);
is d, puts a new key k in table t with the content of d for associated data.
data db_query(table t, data k);
is the k key associated data in table t.
void db_resign(table t, data k);
deletes the k key from table t when the key is present.
void db_ulcx(table t, data u, data l);
deletes the keys in table t greater than or matching u and less than l.
void db_uocx(table t, data u, data o);
deletes the keys in table t greater than or matching u and less than or matching o.
void db_yank(data d, table t, data k);
sets d to the associated data of key k in table t and removes k from t.
Next: Byte Array Data Traversal Functions, Previous: Table Functions, Up: Top [Index]