event_log_create_id_index(IN field_name text)


Description

Creates an index on the event_log table for a top-level field in the event payload. The field is treated as a BIGINT. Only rows that have a non-null value for the field are indexed. The event class is included as a secondary key to support “all events of type X for entity Y” queries.

Parameters

Name Type Mode
field_name text IN

Definition