Overview

Namespaces

  • CzProject
    • SqlGenerator
      • Drivers
      • Statements

Classes

  • AddColumn
  • AddForeignKey
  • AddIndex
  • AlterTable
  • ColumnDefinition
  • Comment
  • CreateTable
  • DropColumn
  • DropForeignKey
  • DropIndex
  • DropTable
  • ForeignKeyDefinition
  • IndexColumnDefinition
  • IndexDefinition
  • Insert
  • ModifyColumn
  • RenameTable
  • SqlCommand
  • Overview
  • Namespace
  • Class

Class IndexColumnDefinition

CzProject\SqlGenerator\Statements\IndexColumnDefinition implements CzProject\SqlGenerator\IStatement
Namespace: CzProject\SqlGenerator\Statements
Located at Statements/IndexColumnDefinition.php
Methods summary
public
# __construct( string $name, string $order = self::ASC, integer|null $length = NULL )

Parameters

$name
$order
$length
public string
# toSql( CzProject\SqlGenerator\IDriver $driver )

Returns

string

Implementation of

CzProject\SqlGenerator\IStatement::toSql()
Constants summary
string ASC
# 'ASC'
string DESC
# 'DESC'
czproject/sql-generator v1.2.2 API documentation API documentation generated by ApiGen