UNPKG

@libsql/hrana-client

Version:

Hrana client for connecting to sqld over HTTP or WebSocket

14 lines (13 loc) 487 B
/** A client for the Hrana protocol (a "database connection pool"). */ export class Client { /** @private */ constructor() { this.intMode = "number"; } /** Representation of integers returned from the database. See {@link IntMode}. * * This value is inherited by {@link Stream} objects created with {@link openStream}, but you can * override the integer mode for every stream by setting {@link Stream.intMode} on the stream. */ intMode; }