2017 © Pedro Peláez
 

library mysql-conditionals

Wraps conditional statements in a "lambda" for MySQL

image

dbmover/mysql-conditionals

Wraps conditional statements in a "lambda" for MySQL

  • Saturday, April 15, 2017
  • by monomelodies
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Dbmover\MysqlConditionals

SQL extension to support conditionals in MySQL schemas, (*1)

Installation

$ composer require dbmover/mysql-conditionals

Usage

For general DbMover usage, see dbmover/core. This plugin needs to be manually included in your plugin list; it is not part of any meta-package., (*2)

The plugin is run both on __invoke as well as on __destruct. Since the most common usage is to perform conditional migrations (e.g. renaming a table), it is recommended to add it at or near the beginning of your plugin list, but at least before the dbmover/mysql-tables plugin (included in the dbmover/mysql meta-package), since this is a "destructive" plugin (it actually drops tables not found in your schemas)., (*3)

See also dbmover/conditionals for examples etc., (*4)

Contributing

See dbmover/core., (*5)

The Versions

15/04 2017

dev-master

9999999-dev

Wraps conditional statements in a "lambda" for MySQL

  Sources   Download

MIT

by Marijn Ophorst

15/04 2017

0.6.0

0.6.0.0

Wraps conditional statements in a "lambda" for MySQL

  Sources   Download

MIT

by Marijn Ophorst