Represents a filter condition used in constructing WHERE clauses for querying Cassandra tables. Filters specify the criteria used to select rows from a table, based on column values.

Properties:

  • name: The name of the column to filter on.
  • value: The value(s) to match against the column. Can be a single value or an array of values for operations like IN.
  • operator: Optional. The comparison operator to use (e.g., '=', '<', '>', 'IN'). Defaults to '=' if not specified.
interface Filter {
    name: string;
    value: unknown;
    operator?: string;
}

Properties

Properties

name: string
value: unknown
operator?: string