PostgresDatabaseResource.WithCreationScript
Method
type PostgresDatabaseResource interface { // ... omitted for brevity WithCreationScript(script string) PostgresDatabaseResource}Signature
method
WithCreationScript builderDefines the SQL script used to create the database.
WithCreationScript(script string) PostgresDatabaseResourceParameters
scriptstringThe SQL script used to create the database.Returns
PostgresDatabaseResource The resource builder.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: