// CreateDatabase is the option for creating project k8s resource
CreateDatabase is the option for creating project k8s resource
// CreateDatabase is the option for creating project k8s resource
func CreateDatabase(ctx context.Context, c client.Client) MysqlDBOption {
	return func(db *mysqldatabase.Database) error {
		if err := c.Create(ctx, db.Unwrap()); err != nil {
			return err
		}
		return nil
	}
}
func CreateDatabase ( ctx context . Context , c client . Client ) MysqlDBOption { return func ( db * mysqldatabase . Database ) error { if err := c . Create ( ctx , db . Unwrap ( ) ) ; err != nil { return err } return nil } }
CreateDatabase is the option for creating project k8s resource
CreateDatabase is the option for creating project k8s resource