MDB_REVERSEDUP top-level constant
int
const MDB_REVERSEDUP
Enables reverse string comparison for duplicate data items.
When used:
- Must be used with MDB_DUPSORT
- Reverses duplicate value comparison
- Affects duplicate sorting order
Common usage scenarios:
- Custom sorting requirements
- Reverse chronological order
- Special string handling
Example:
await db.init(path, flags: LMDBFlagSet()..add(MDB_DUPSORT)..add(MDB_REVERSEDUP));
Note:
- Only affects duplicate data comparison
- Must be used with MDB_DUPSORT
- Doesn't affect key ordering
- Not yet supported as cursor operation are not yet implemented
Implementation
const MDB_REVERSEDUP = bindings.MDB_REVERSEDUP;