WithCreationScript
Method
func (SurrealDbDatabaseResource) WithCreationScript(script string) SurrealDbDatabaseResourceSignature
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().
Applies to
This method applies to the following types: