Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
PMA
libraries
plugins
export
TableProperty
isUnique
PMA\libraries\plugins\export\TableProperty::isUnique PHP Method
TableProperty Class Documentation
Show file
Open project: phpmyadmin/phpmyadmin
isUnique()
public
method
Tells whether the key is unique or not
public
isUnique
( ) :
boolean
return
boolean
true if the key is unique, false otherwise
public function isUnique() { return $this->key == "PRI" || $this->key == "UNI" ? "true" : "false"; }
TableProperty
__construct
format
formatCs
formatXml
getDotNetObjectType
getDotNetPrimitiveType
getIndexName
getPureType
isNotNull
isPK
isUnique