Orpheus

SqlGenerator
in

The Sql interface

Tags
author

Florent Hazard contact@sowapps.com

Table of Contents

Methods

getColumnDefinition()  : string
Get column definition
getColumnInfosFromField()  : array<string|int, mixed>
Get column information from $field
getCreate()  : string
Get create SQL query
getIncrementalChanges()  : string|null
Get changes with entity
getIndexDefinition()  : string
Get index definition

Methods

getColumnDefinition()

Get column definition

public getColumnDefinition(array<string|int, mixed> $fieldColumn, AbstractSqlAdapter $sqlAdapter[, bool $withPK = true ]) : string
Parameters
$fieldColumn : array<string|int, mixed>
$sqlAdapter : AbstractSqlAdapter
$withPK : bool = true
Return values
string

getColumnInfosFromField()

Get column information from $field

public getColumnInfosFromField(FieldDescriptor $field) : array<string|int, mixed>
Parameters
$field : FieldDescriptor
Return values
array<string|int, mixed>

							
On this page

Search results