Class NpgsqlTsQuery
Represents a PostgreSQL tsquery. This is the base class for the lexeme, not, or, and, and "followed by" nodes.
Inheritance
System.Object
NpgsqlTsQuery
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: NpgsqlTypes
Assembly: Npgsql.dll
Syntax
public abstract class NpgsqlTsQuery
Properties
Kind
Node kind
Declaration
public NpgsqlTsQuery.NodeKind Kind { get; protected set; }
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 |
---|---|---|
System.String | value |
Returns
Type | Description |
---|---|
NpgsqlTsQuery |
ToString()
Writes the tsquery in PostgreSQL's text format.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()