Function __global->get_sql_dump

Definitions

sources/database_relations.php

  • Get an SQL dump of a database.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$out_file resource required parameter N/A N/A File to stream into
$include_drops boolean False N/A N/A Whether to include 'DROP' statements
$output_statuses boolean False N/A N/A Whether to output status as we go
$skip array [] N/A N/A Array of table names to skip
$only ?array Null N/A N/A Array of only table names to do (null: all)
$db ?object Null N/A N/A Database connector to use (null: site database)
$intended_db_type ?string Null N/A N/A Database driver to use (null: site database driver)