SurrealDbDatabaseResource
Handle
interface SurrealDbDatabaseResource extends IExpressionValue, IManifestExpressionProvider, IResource, IResourceWithConnectionString, IResourceWithParent, SurrealDbNamespaceResource]], IValueProvider, IValueWithReferences { readonly connectionStringExpression: ReferenceExpression; readonly databaseName: string; readonly parent: SurrealDbNamespaceResource; withCreationScript(script: string): SurrealDbDatabaseResource;}Properties
property
connectionStringExpression ReferenceExpression get Gets the connection string expression for the SurrealDB database.
property
databaseName string get Gets the database name.
property
parent SurrealDbNamespaceResource get Gets the parent SurrealDB namespace resource.
Methods
Defines the SQL script used to create the database.
withCreationScript(script: string): SurrealDbDatabaseResourceParameters
script string Returns
SurrealDbDatabaseResource