14 lines
487 B
JavaScript
14 lines
487 B
JavaScript
/** 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;
|
|
}
|