Nextcloud PHP API (master)

IColumn

Object representation of a column.

Tags
since
35.0.0
Attributes
#[Consumable]
$since: '35.0.0'

Table of Contents

Methods

getAutoincrement()  : bool
Returns whether this column is an autoincrement column.
getDefault()  : mixed
getFixed()  : bool
getLength()  : int|null
getNotnull()  : bool
getPrecision()  : int
getScale()  : int
getType()  : ColumnType
Returns the type of this column.
getUnsigned()  : bool
setDefault()  : self
setFixed()  : self
setLength()  : self
setNotnull()  : self
setPrecision()  : self
setScale()  : self
setType()  : self
setUnsigned()  : self

Methods

getAutoincrement()

Returns whether this column is an autoincrement column.

public getAutoincrement() : bool
Tags
since
35.0.0
Return values
bool

getDefault()

public getDefault() : mixed
Tags
since
35.0.0

getFixed()

public getFixed() : bool
Tags
since
35.0.0
Return values
bool

getLength()

public getLength() : int|null
Tags
since
35.0.0
Return values
int|null

getNotnull()

public getNotnull() : bool
Tags
since
35.0.0
Return values
bool

getPrecision()

public getPrecision() : int
Tags
since
35.0.0
Return values
int

getScale()

public getScale() : int
Tags
since
35.0.0
Return values
int

getUnsigned()

public getUnsigned() : bool
Tags
since
35.0.0
Return values
bool

setDefault()

public setDefault(mixed $default) : self
Parameters
$default : mixed
Tags
since
35.0.0
Return values
self

setFixed()

public setFixed(bool $fixed) : self
Parameters
$fixed : bool
Tags
since
35.0.0
Return values
self

setLength()

public setLength(int|null $length) : self
Parameters
$length : int|null
Tags
since
35.0.0
Return values
self

setNotnull()

public setNotnull(bool $notnull) : self
Parameters
$notnull : bool
Tags
since
35.0.0
Return values
self

setPrecision()

public setPrecision(int $precision) : self
Parameters
$precision : int
Tags
since
35.0.0
Return values
self

setScale()

public setScale(int $scale) : self
Parameters
$scale : int
Tags
since
35.0.0
Return values
self

setUnsigned()

public setUnsigned(bool $unsigned) : self
Parameters
$unsigned : bool
Tags
since
35.0.0
Return values
self
On this page

Search results