Skip to main content
interface CreateTriggerByAreaRequest
options?: Record<string, string>;
request_id: string;
table_names: string[];
x_column_name: string;
x_vector: number[];
y_column_name: string;
y_vector: number[];
options?: Record<string, string>

Optional parameters.

request_id: string

User-created ID for the trigger. The ID can be alphanumeric, contain symbols, and must contain at least one character.

table_names: string[]

Names of the tables on which the trigger will be activated and maintained, each in [schema_name.]table_name format, using standard name resolution rules.

x_column_name: string

Name of a numeric column on which the trigger is activated. Usually ‘x’ for geospatial data points.

x_vector: number[]

The respective coordinate values for the region on which the trigger is activated. This usually translates to the x-coordinates of a geospatial region.

y_column_name: string

Name of a second numeric column on which the trigger is activated. Usually ‘y’ for geospatial data points.

y_vector: number[]

The respective coordinate values for the region on which the trigger is activated. This usually translates to the y-coordinates of a geospatial region. Must be the same length as xvals.