Skip to content
🚀 This documentation is for unreal-orm 1.0.0 alpha which requires SurrealDB 2.0 alpha SDK. For the stable version, see npm.

hasDatabase

hasDatabase(): boolean

Defined in: config/index.ts:155

Checks if a database is configured (either directly or via factory).

boolean

true if a database is configured