SurrealDbDatabaseResource.WithCreationScript
Method
type SurrealDbDatabaseResource interface { // ... 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 A reference to the I.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: