Index

(table)

o2tab_index_add

boolean o2tab_index_add(string $table_name, string $index_name, array $index_segs, boolean $unique)

Add a new index to table.
$key_segs is a list of key segments, in the form => ,
where is A|D for ascending or descending.


Parameters:
  1. $table_name
  2. Table name
  3. $index_name
  4. New index physical name.
  5. $index_segs
  6. New index segments
  7. $unique
  8. New index is unique