Class NpgsqlTsQuery
Represents a PostgreSQL tsquery. This is the base class for the lexeme, not, or, and, and "followed by" nodes.
Inheritance
NpgsqlTsQuery
Inherited Members
Namespace: NpgsqlTypes
Assembly: Npgsql.dll
Syntax
public abstract class NpgsqlTsQuery
Constructors
NpgsqlTsQuery(NpgsqlTsQuery.NodeKind)
Constructs an NpgsqlTsQuery.
Declaration
protected NpgsqlTsQuery(NpgsqlTsQuery.NodeKind kind)
Parameters
Type | Name | Description |
---|---|---|
NpgsqlTsQuery.NodeKind | kind |
Properties
Kind
Node kind
Declaration
public NpgsqlTsQuery.NodeKind Kind { get; }
Property Value
Type | Description |
---|---|
NpgsqlTsQuery.NodeKind |
Methods
Parse(String)
Parses a tsquery in PostgreSQL's text format.
Declaration
public static NpgsqlTsQuery Parse(string value)
Parameters
Type | Name | Description |
---|---|---|
String | value |
Returns
Type | Description |
---|---|
NpgsqlTsQuery |
ToString()
Writes the tsquery in PostgreSQL's text format.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |