QuestDB Node.js Client - v4.0.2
    Preparing search index...

    Class TcpTransport

    TCP transport implementation.
    Supports both plain TCP or secure TLS-encrypted connections with configurable JWK token authentication.

    Implements

    Index

    Constructors

    Methods

    • Creates a TCP connection to the database.

      Returns Promise<boolean>

      Promise resolving to true if the connection is established successfully

      Error if connection fails or authentication is rejected

    • Sends data over the established TCP connection.

      Parameters

      • data: Buffer

        Buffer containing the data to send

      Returns Promise<boolean>

      Promise resolving to true if data was sent successfully

      Error if the data could not be written to the socket