Search Results for

    Show / Hide Table of Contents

    Class NpgsqlTsQuery

    Represents a PostgreSQL tsquery. This is the base class for the lexeme, not, or, and, and "followed by" nodes.

    Inheritance
    Object
    NpgsqlTsQuery
    NpgsqlTsQueryBinOp
    NpgsqlTsQueryEmpty
    NpgsqlTsQueryLexeme
    NpgsqlTsQueryNot
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Namespace: NpgsqlTypes
    Assembly: Npgsql.dll
    Syntax
    public abstract class NpgsqlTsQuery

    Constructors

    | Improve this Doc

    NpgsqlTsQuery(NpgsqlTsQuery.NodeKind)

    Constructs an NpgsqlTsQuery.

    Declaration
    protected NpgsqlTsQuery(NpgsqlTsQuery.NodeKind kind)
    Parameters
    Type Name Description
    NpgsqlTsQuery.NodeKind kind

    Properties

    | Improve this Doc

    Kind

    Node kind

    Declaration
    public NpgsqlTsQuery.NodeKind Kind { get; }
    Property Value
    Type Description
    NpgsqlTsQuery.NodeKind

    Methods

    | Improve this Doc

    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
    | Improve this Doc

    ToString()

    Writes the tsquery in PostgreSQL's text format.

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    Object.ToString()
    • Improve this Doc
    In This Article
    Back to top © Copyright 2021 The Npgsql Development Team