Function Database_Static_oracle->create_table__sql

Definitions

sources/database/oracle.php

  • Get SQL for creating a new table.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

Parameters

Name Type Default Set Range Description
$table_name ID_TEXT required parameter N/A N/A The table name
$fields array required parameter N/A N/A A map of field names to software field types (with *#? encodings)
$connection mixed required parameter N/A N/A The DB connection to make on
$raw_table_name ID_TEXT required parameter N/A N/A The table name with no table prefix
$save_bytes boolean False N/A N/A Whether to use lower-byte table storage, with trade-offs of not being able to support all unicode characters; use this if key length is an issue

Return

  • List of SQL queries to run
  • Type: array
  • Set: N/A
  • Range: N/A