\CreateTableOptionsBuilder

This class implements the builder for the table-options statement part of CREATE TABLE.

You can overwrite all functions to achieve another handling.

Summary

Methods
Properties
Constants
build()
No public properties found
No constants found
buildExpression()
buildCharacterSet()
buildCollation()
getDelimiter()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

build()

build(  $parsed) 

Parameters

$parsed

buildExpression()

buildExpression(  $parsed) 

Parameters

$parsed

buildCharacterSet()

buildCharacterSet(  $parsed) 

Parameters

$parsed

buildCollation()

buildCollation(  $parsed) 

Parameters

$parsed

getDelimiter()

getDelimiter(array  $parsed) : \a

Returns a well-formatted delimiter string. If you don't need nice SQL, you could simply return $parsed['delim'].

Parameters

array $parsed

The part of the output array, which contains the current expression.

Returns

\a —

string, which is added right after the expression