Quick reference
For the complete documentation index see: llms.txt
All documentation pages available in markdown.
This quick reference summarizes the Collection Data Type (CDT) operations, return types, and context helper functions that the Aerospike Go client provides for maps and lists. Use it to find an operation by name or to check which return type to pass. Each operation has its own page with examples.
Operation summary
Map operations
List operations
Return type quick reference
Map return types
VALUE: The actual value (most common)KEY: The key itselfKEY_VALUE: Both key and value as MapPairINDEX: Index position (ordered maps)RANK: Rank by valueCOUNT: Number of items (1 or 0)EXISTS: Boolean existence check
List return types
VALUE: The actual valueINDEX: Index position(s)RANK: Rank by valueCOUNT: Number of itemsEXISTS: Boolean existence check
Context helper functions
The following are commonly used context helper functions for navigating nested CDT structures. There are additional helper functions available beyond these basic ones:
CtxMapKey(key): Navigate to map by keyCtxListIndex(index): Navigate to list by indexCtxMapRank(rank): Navigate to map by rankCtxListRank(rank): Navigate to list by rank
For a complete list of all available context helper functions, refer to the API documentation.
Next steps
- CDT operations overview: what CDT operations are and how
Operate()returns results - Best practices and tips
- Map creation and setup
- List creation and setup
- Nested CDT operations