Doc
  • Get Started
  • Academy
  • Library
  • Languages iconEnglish
    • Português

›Objects

Libraries

  • Overview
  • Introduction

Resources & Objects

    Resources

    • App
    • Auth
    • Component
    • Config
    • Convert
    • CORS
    • Cron
    • Crypto
    • CSV
    • DB
    • Env
    • Error
    • Exec
    • Firebase
    • Form
    • Group
    • Header
    • HTML
    • Jasper
    • Jwt
    • Lang
    • Log
    • Monitor
    • OS
    • Out
    • PDF
    • RabbitMQ
    • Random
    • Remote
    • Form
    • Req
    • Res
    • Server
    • Setup
    • SMTP
    • Storage
    • Template
    • Time
    • Uid
    • Url
    • User
    • Val
    • WebSocket
    • XLS
    • XML

    Objects

    • Async
    • CheckExists
    • Column
    • DataItem
    • DataSchema
    • DBBatch
    • DBSearchResult
    • File
    • Index
    • InputStream
    • OSCommand
    • OutputStream
    • RandomString
    • RemoteResponse
    • Sequence
    • Service
    • SMTPConfig
    • Table
    • Values
    • XLSPosition

App Folders

  • Application folder structure
  • Config
  • DB
  • Public
  • Server
  • Storage
  • UI

Sequence

Realiza a manipulação de sequências em base de dados.

if (!_db.checkExists().sequence("client", "name")) {
    _db.index().create(
        "client", // Nome da Tabela
        "name" // Nome da Coluna
    ); // O index client_name_idx será criado criado.
}

commandNextValue


commandNextValue(arg0: string) : string

Attributes
NAMETYPEDESCRIPTION
arg0string
Return

( string )


create


create(arg0: string) : Sequence

Attributes
NAMETYPEDESCRIPTION
arg0string
Return

( Sequence )


create(arg0: string, arg1: int) : Sequence

Attributes
NAMETYPEDESCRIPTION
arg0string
arg1int
Return

( Sequence )


drop


drop(arg0: string) : Sequence

Attributes
NAMETYPEDESCRIPTION
arg0string
Return

( Sequence )


getCurrentValue


getCurrentValue(arg0: string) : int

Attributes
NAMETYPEDESCRIPTION
arg0string
Return

( int )


getKey


getKey() : string

Return

( string )


isH2


isH2() : boolean

Return

( boolean )


isH2(arg0: Builder) : boolean

Attributes
NAMETYPEDESCRIPTION
arg0Builder
Return

( boolean )


isMSSQL


isMSSQL() : boolean

Return

( boolean )


isMSSQL(arg0: Builder) : boolean

Attributes
NAMETYPEDESCRIPTION
arg0Builder
Return

( boolean )


isMariaDB


isMariaDB() : boolean

Return

( boolean )


isMariaDB(arg0: Builder) : boolean

Attributes
NAMETYPEDESCRIPTION
arg0Builder
Return

( boolean )


isPostgreSQL


isPostgreSQL() : boolean

Return

( boolean )


isPostgreSQL(arg0: Builder) : boolean

Attributes
NAMETYPEDESCRIPTION
arg0Builder
Return

( boolean )


rename


rename(arg0: string, arg1: string) : Sequence

Attributes
NAMETYPEDESCRIPTION
arg0string
arg1string
Return

( Sequence )


renameIfExists


renameIfExists(arg0: string, arg1: string) : Sequence

Attributes
NAMETYPEDESCRIPTION
arg0string
arg1string
Return

( Sequence )


restart


restart(arg0: string, arg1: int) : Sequence

Attributes
NAMETYPEDESCRIPTION
arg0string
arg1int
Return

( Sequence )


restart(arg0: string, arg1: string, arg2: string) : Sequence

Attributes
NAMETYPEDESCRIPTION
arg0string
arg1string
arg2string
Return

( Sequence )


sequence


sequence() : boolean

Return

( boolean )


supported


supported() : boolean

Return

( boolean )


← RemoteResponseService →
  • commandNextValue
  • create
  • drop
  • getCurrentValue
  • getKey
  • isH2
  • isMSSQL
  • isMariaDB
  • isPostgreSQL
  • rename
  • renameIfExists
  • restart
  • sequence
  • supported

Open Source

Download

admin@netuno.org

support@netuno.org

Copyright © Sitana 2022