QueryBuilder.where

Adds a new custom filter.

Useful for filters that are not simple equality comparisons, or usage psql functions. Nothing is escaped, make sure you properly escape the reserved keywords if they are used as identifier names.

Placeholders can be used with this, and even positional params, since the order is predictable. Read addParam for more information about that.

  1. QueryBuilder where(T[string] filters)
  2. QueryBuilder where(string filter, T params)
    struct QueryBuilder
    ref
    where
    (
    T...
    )
    (
    string filter
    ,
    )

Meta