Loading section...

MAP data type for key-value pairs

Concepts: sqlMapBasic

Creating Maps Accessing Map Values When to Use Maps Bracket notation on a MAP column provides O(1) hash-based access, making it fast regardless of how many keys the map contains. Maps are ideal for sparse data where each row may have different attributes, avoiding the need for many nullable columns.