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

    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
    Overrides
    Object.ToString()
    In This Article
    Back to top © Copyright 2022 The Npgsql Development Team