LimeSurvey API - Master branch

PgsqlSchema extends CPgsqlSchema
in package

Table of Contents

Methods

__construct()  : mixed
createTable()  : mixed
getColumnType()  : string
Adds support for replacing default arguments.
getCompositePrimaryKey()  : string
Get composite primary key definition.

Methods

__construct()

public __construct(mixed $conn) : mixed
Parameters
$conn : mixed

createTable()

public createTable(mixed $table, mixed $columns[, mixed $options = null ]) : mixed
Parameters
$table : mixed
$columns : mixed
$options : mixed = null

getColumnType()

Adds support for replacing default arguments.

public getColumnType(string $type) : string
Parameters
$type : string
Return values
string

getCompositePrimaryKey()

Get composite primary key definition.

public getCompositePrimaryKey(string $table, array<string|int, mixed> $columns) : string

CONSTRAINT prefix_assessments_pkey PRIMARY KEY (id,language)

Parameters
$table : string
$columns : array<string|int, mixed>
Return values
string

        
On this page

Search results