Overview

Namespaces

  • Alchemy
    • core
      • query
      • schema
    • dialect
    • engine
    • orm
    • tests
    • util
      • promise
  • PHP

Classes

  • Column
  • Foreign
  • ForeignKey
  • Index
  • Table
  • TableElement
  • Overview
  • Namespace
  • Class
  • Tree

Class Index

Class for representing an index in SQL

Alchemy\core\Element implements Alchemy\core\IElement
Extended by Alchemy\core\schema\TableElement
Extended by Alchemy\core\schema\Index

Direct known subclasses

Alchemy\core\schema\ForeignKey
Namespace: Alchemy\core\schema
Located at alchemy/core/schema/Index.php
Methods summary
public string
# getName( )

Get the index name

Get the index name

Returns

string

Overrides

Alchemy\core\schema\TableElement::getName()
public array
# listColumns( )

List the columns used by this index

List the columns used by this index

Returns

array
protected
# resolve( )
Methods inherited from Alchemy\core\schema\TableElement
__construct(), copy(), getTable()
Methods inherited from Alchemy\core\Element
__callStatic(), __clone(), addTag(), addTags(), define(), define_alias(), getDescription(), getID(), getTag(), getType(), get_definition(), listTags(), normalize_arg()
Properties summary
protected mixed $columns
#
Properties inherited from Alchemy\core\schema\TableElement
$args, $name, $table
Properties inherited from Alchemy\core\Element
$id, $tags, $type
API documentation generated by ApiGen 2.8.0