We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
DOCS • API • Client API
Check if a database exists.
client.hasDatabase( name: string, ): Promise<boolean>;
name
Check if database exists:
const exists = await client.hasDatabase('database_1'); console.log(exists); // true | false