UNPKG

@tai-kun/surrealdb

Version:

The SurrealDB SDK for JavaScript

20 lines 616 B
/** * [API Reference](https://tai-kun.github.io/surrealdb.js/v2/api/utils/serial/) */ export default class Serial { protected _id: number; protected _max: number; /** * [API Reference](https://tai-kun.github.io/surrealdb.js/v2/api/utils/serial/#constructor) */ constructor(max?: number | undefined); /** * [API Reference](https://tai-kun.github.io/surrealdb.js/v2/api/utils/serial/#next) */ next(): number; /** * [API Reference](https://tai-kun.github.io/surrealdb.js/v2/api/utils/serial/#reset) */ reset(): void; } //# sourceMappingURL=serial.d.ts.map