dbhash_key - Return the key from the database.
dbhash_key (db:pointer);
This function can be use as a function or as a callback.
The function will return all keys from the database.
As a function it will return an array of keys.
As a callback it will return the keys for each loop.
There is NO order in a key/data database.
To use this module, you must specify the following in /usr/local/website/site.conf:
Module hash { Library : "/usr/local/lib/libsndbhash.so" Init : "sndbhash_init" }
for j dbhash_key(db:hash) do n++; endfor sort(sort:1,dbhash_key(db:hash));
Written by Pierre Laplante, <laplante@sednove.com>
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.
1.0 2014-09-09 21:24:14 laplante@sednove.com