Table of Contents

Class QueryFilter<TModel, TCriterion>

Namespace
Supabase.Postgrest
Assembly
Supabase.Postgrest.dll

Allow for the expression of a query filter with linq expressions.

public class QueryFilter<TModel, TCriterion> : IPostgrestQueryFilter

Type Parameters

TModel
TCriterion
Inheritance
QueryFilter<TModel, TCriterion>
Implements
Inherited Members

Constructors

QueryFilter(Expression<Func<TModel, object>>, Operator, TCriterion?)

Allows the creation of a Query Filter using a LINQ expression.

public QueryFilter(Expression<Func<TModel, object>> predicate, Constants.Operator op, TCriterion? criterion)

Parameters

predicate Expression<Func<TModel, object>>
op Constants.Operator
criterion TCriterion

Exceptions

ArgumentException

Properties

Criteria

public object? Criteria { get; }

Property Value

object

Op

public Constants.Operator Op { get; }

Property Value

Constants.Operator

Property

public string? Property { get; }

Property Value

string