Index
Realiza a manipulação de indexes em base de dados.
if (!_db.checkExists().index("client", "name")) {
_db.index().create(
"client", // Nome da Tabela
"name" // Nome da Coluna
); // O index client_name_idx será criado criado.
}
create
create(table: string, column: string) : Index
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
table | string | |
column | string |
Return
( Index )
getKey
getKey() : string
Return
( string )
isH2
isH2() : boolean
Return
( boolean )
isH2(builder: org.netuno.tritao.db.Builder) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
builder | org.netuno.tritao.db.Builder |
Return
( boolean )
isMSSQL
isMSSQL() : boolean
Return
( boolean )
isMSSQL(builder: org.netuno.tritao.db.Builder) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
builder | org.netuno.tritao.db.Builder |
Return
( boolean )
isMariaDB
isMariaDB() : boolean
Return
( boolean )
isMariaDB(builder: org.netuno.tritao.db.Builder) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
builder | org.netuno.tritao.db.Builder |
Return
( boolean )
isPostgreSQL
isPostgreSQL() : boolean
Return
( boolean )
isPostgreSQL(builder: org.netuno.tritao.db.Builder) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
builder | org.netuno.tritao.db.Builder |
Return
( boolean )
sequence
sequence() : boolean
Return
( boolean )