MySqlDatabaseResource
Handle
A resource that represents a MySQL database. This is a child resource of a My.
type MySqlDatabaseResource interface { ExpressionValue Resource ResourceWithConnectionString ResourceWithParent}7 members
Properties
property
ConnectionStringExpression *ReferenceExpression getGets the connection string expression for the MySQL database.
ConnectionStringExpression() *ReferenceExpressionproperty
DatabaseName stringgetGets the database name.
DatabaseName() (string, error)property
JdbcConnectionString *ReferenceExpression getGets the JDBC connection string for the MySQL database.
JdbcConnectionString() *ReferenceExpressionproperty
ParentMySqlServerResource getGets the parent MySQL container resource.
Parent() MySqlServerResourceproperty
ResourceTypeDisplayName stringgetGets the ResourceTypeDisplayName property
ResourceTypeDisplayName() (string, error)property
UriExpression *ReferenceExpression getGets the connection URI expression for the MySQL database.
UriExpression() *ReferenceExpressionMethods
Defines the SQL script used to create the database.
WithCreationScript(script string) MySqlDatabaseResourceParameters
scriptstringThe SQL script used to create the database.Returns
MySqlDatabaseResource The resource builder.
Returns a handle; failures surface later via Err().