MDB_DUPSORT top-level constant
int
const MDB_DUPSORT
Enables duplicate keys in the database.
When used:
- Multiple values per key allowed
- Values stored in sorted order
- Enables multi-value lookups
Common usage scenarios:
- One-to-many relationships
- Tag systems
- Multiple value storage
Example:
await db.init(path, flags: LMDBFlagSet()..add(MDB_DUPSORT));
Features:
- Automatic value sorting
- Compatible with MDB_DUPFIXED
- Enables cursor operations
Note:
- Not yet supported as cursor operation are not yet implemented
Implementation
const MDB_DUPSORT = bindings.MDB_DUPSORT;