TCP transport implementation. Supports both plain TCP or secure TLS-encrypted connections with configurable JWK token authentication.
Creates a new TcpTransport instance.
Sender configuration object containing connection and authentication details
Error if required options are missing or protocol is not 'tcp' or 'tcps'
Creates a TCP connection to the database.
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.
Buffer containing the data to send
Promise resolving to true if data was sent successfully
Error if the data could not be written to the socket
Closes the TCP connection to the database.
Gets the default auto-flush row count for TCP transport.
Default number of rows that trigger auto-flush
TCP transport implementation.
Supports both plain TCP or secure TLS-encrypted connections with configurable JWK token authentication.