ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:axmls:savesql

saveSql

boolean saveSql (
  optional string $filename = './schema.sql'
  )

Description

Saves the current SQL array to the local filesystem as a list of SQL queries.

Call this method to save the array of SQL queries (generally resulting from a parsed XML schema) to the filesystem. The function returns a boolean indicating success or failure of the save

It is important to remember that the file is save on the server where the php command was executed, not on the local workstation.

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