redismap / docs / collections / native.rst

Native Collections

Redismap provides wrappers for all four of Redis' native collection types: sets, lists, sorted sets, and hashes. Sets, lists, and hashes mimic the interfaces of their Python equivalents - set, list, and dict - as much as possible. (Sorted sets have no real Python equivalent, but their interface is a hybrid of the set and dict interface.) Each has a read-write version, and a read-only version suffixed with View.

All of them support using non-string types as values (and keys and scores, as appropriate) by passing :ref:`converters` to the constructor.

Sets

Lists

Sorted Sets

Hashes

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.