withCreationScript
Method
interface SurrealDbDatabaseResource { // ... omitted for brevity withCreationScript(script: string): SurrealDbDatabaseResource;}Signature
method
withCreationScript builderDefines the SQL script used to create the database.
withCreationScript(script: string): SurrealDbDatabaseResourceParameters
scriptstringThe SQL script used to create the database.Returns
SurrealDbDatabaseResource Applies to
This method applies to the following types: