ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:axmls:setupgrademethod

setUpgradeMethod

Syntax
string setUpgradeMethod (
  optional string $method = ''
  )

Description

Sets the method to be used for upgrading an existing database

Use this method to specify how existing database objects should be upgraded. The method option can be set to one of the following:

ValueDescription
ALTERattempts to alter each database object directly
REPLACEattempts to rebuild each object from scratch
BESTattempts to determine the best upgrade method for each object
NONEdisables upgrading

This method is not yet used by AXMLS, but exists for backward compatibility. The ALTER method is automatically assumed when the adoSchema object is instantiated; other upgrade methods are not currently supported.

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