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;
    operator?: string;
    value: unknown;
}

Properties

Properties

name: string
operator?: string
value: unknown