Search Results for

    Show / Hide Table of Contents

    Class NpgsqlTsVector

    Represents a PostgreSQL tsvector.

    Inheritance
    object
    NpgsqlTsVector
    Implements
    IEquatable<><NpgsqlTsVector>
    Namespace: NpgsqlTypes
    Assembly: Npgsql.dll
    Syntax
    public sealed class NpgsqlTsVector : IEnumerable<NpgsqlTsVector.Lexeme>, IEquatable<NpgsqlTsVector>

    Properties

    | Improve this Doc View Source

    Count

    Gets the number of lexemes.

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    int
    | Improve this Doc View Source

    this[int]

    Returns the lexeme at a specific index

    Declaration
    public NpgsqlTsVector.Lexeme this[int index] { get; }
    Parameters
    Type Name Description
    int index
    Property Value
    Type Description
    NpgsqlTsVector.Lexeme

    Methods

    | Improve this Doc View Source

    Equals(NpgsqlTsVector?)

    Declaration
    public bool Equals(NpgsqlTsVector? other)
    Parameters
    Type Name Description
    NpgsqlTsVector other
    Returns
    Type Description
    bool
    | Improve this Doc View Source

    Equals(object?)

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object? obj
    Returns
    Type Description
    bool
    | Improve this Doc View Source

    GetEnumerator()

    Returns an enumerator.

    Declaration
    public IEnumerator<NpgsqlTsVector.Lexeme> GetEnumerator()
    Returns
    Type Description
    IEnumerator<><Lexeme>
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    | Improve this Doc View Source

    Parse(string)

    Parses a tsvector in PostgreSQL's text format.

    Declaration
    public static NpgsqlTsVector Parse(string value)
    Parameters
    Type Name Description
    string value
    Returns
    Type Description
    NpgsqlTsVector
    | Improve this Doc View Source

    ToString()

    Gets a string representation in PostgreSQL's format.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    Implements

    IEquatable<>
    • Improve this Doc
    • View Source
    In This Article
    Back to top © Copyright 2023 The Npgsql Development Team