int es_mbs_add( struct es_mbs *siter, const char *fieldname );
Select database field to act as sort key.
A sorted iterator can sort on one or more database fields, provided that they are either integer or floating-point. The order in which es_mbs_add() is invoked dictates the field sort order.
The set of fields on which to sort must be determined before a sorted iterator is initialized, i.e. es_mbs_add() must be called one or more times before calling es_mbs_begin().
|Copyright © 2012 by Richard Brooks|