PostgresQuerySpec constructor

PostgresQuerySpec({
  1. List<PostgresFilter>? filters,
  2. bool isOrQuery = false,
  3. List<PostgresOrderBy>? orderBys,
  4. int? limit,
  5. bool isSingleRow = false,
  6. bool hideOnEmpty = false,
  7. bool isStreamingSupabaseQuery = false,
})

Implementation

PostgresQuerySpec({
  List<PostgresFilter>? filters,
  this.isOrQuery = false,
  List<PostgresOrderBy>? orderBys,
  this.limit,
  this.isSingleRow = false,
  this.hideOnEmpty = false,
  this.isStreamingSupabaseQuery = false,
}) : filters =
         filters == null
             ? const <PostgresFilter>[]
             : List<PostgresFilter>.unmodifiable(filters),
     orderBys =
         orderBys == null
             ? const <PostgresOrderBy>[]
             : List<PostgresOrderBy>.unmodifiable(orderBys);