ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:axmls:executeinline

executeInline

Syntax
bool executeInline (
  bool $mode = NULL
  )

Description

Call this method to enable or disable inline execution of the schema.

If the mode is set to TRUE (inline execution), AXMLS applies the SQL to the database immediately as each schema entity is parsed.

If the mode is set to FALSE (post execution), AXMLS parses the entire schema and you will need to call adoSchema::ExecuteSchema() to apply the schema to the database.

If no argument is passed, or the type of argument is not a Boolean, then the method executes as a getter(), in that it returns the current status of the method. Use of this methodology is discouraged in ADOdb and this methods behavior may change in later versions.

v5/axmls/executeinline.txt · Last modified: 2016/01/13 02:26 by mnewnham