Home
Tutorials
01 Build-in HTTP server
WebSockets
02 Security
UB schema
03 Delayed operations
Schedulers
04 OData
Modules
console
Console
log
debug
info
warn
error
dir
time
timeEnd
assert
WindowTimer
makeWindowTimer
DDLGenerator
generateDDL
CustomRepository
WhereCondition
ServerRepository
ServerRepository
selectAsObject
selectAsArray
selectAsStore
select
connection
fs
isFile
isDir
loadFile
readFileSync
mkdirSync
readdirSync
statSync
writeFileSync
appendFileSync
existsSync
unlinkSync
rmdirSync
renameSync
cmd/argv
getConfigFileName
serverSessionFromCmdLineAttributes
establishConnectionFromCmdLineAttributes
checkServerStarted
getServerConfiguration
serverURLFromConfig
identifyApp
safeParseJSONfile
findCmdLineSwitch
findCmdLineSwitchValue
establishConnectionFromCmdLineAttributesUsageInfo
ServerSession
logout
HOST
USER
PWD
uData
connection
appInfo
cmd/autotest
cmd/checkServerNotStarted
cmd/createStore
cmd/ftsReindex
cmd/generateDDL
runDDLGenerator
formatAsText
cmd/initialize
cmd/options
describe
switchIndex
switchValue
Options
add
parse
parseVerbose
usage
cmd/prepareGZIP
argv
cmd/setConfigFromEnv
cmd/upgradeConfig
namedCollection2Array
cmd/CheckStoreIntegrity
cmd/createCodeInsightHelper
namedCollection2Array
cmd/generateDoc
cmd/initDB
createFakeConfig
createSuperUser
http
setGlobalProxyConfiguration
setGlobalConnectionDefaults
request
buildURL
get
STATUS_CODES
ClientRequest
end
setPath
setMethod
setHeader
getHeader
removeHeader
write
IncomingMessage
setEncoding
read
headers
encoding
statusCode
assert
fail
ok
equal
notEqual
deepEqual
notDeepEqual
strictEqual
notStrictEqual
throws
doesNotThrow
ifError
assert
cryptApi
getCRLInfo
csv1
parse
dataLoader
loadSimpleCSVData
loadArrayData
localizeEntity
FileBasedStoreLoader
parseFolder
FileBasedStoreLoader
load
config
attributes
haveModifyDate
haveCreateDate
processingRootFolder
resultCollection
ImageMagick
convertImage
WebSocketProtocols
WebSocketTransport
setMaxListeners
getMaxListeners
emit
addListener
on
once
removeListener
removeAllListeners
listeners
JsonMessagesProtocol
sendCommand
getUserSessions
broadcast
setMaxListeners
getMaxListeners
emit
addListener
on
once
removeListener
removeAllListeners
listeners
OData
registerEndpoint
ODataEndpoint
handle
metadata
notFoundError
checkEntitySet
queryByID
query
collections
update
UBCanvas
UBCanvas
createNew
setFont
drawText
measureText
drawImage
saveToFile
getContent
freeNative
FontStyles
TextFormats
UBComBridge
createCOMObject
openIDConnect
openIDConnect
getAuthCustomHeadersString
notifyProviderError
UBCompressors
unBzipM2
gzipFile
gunzipFile
UBConnection
getDomainInfo
appInfo
UBConnection
getAppInfo
isAuthorized
userLogin
userLang
userData
lookup
query
xhr
get
post
runList
runCustom
run
logout
insert
clientRequest
servicePath
appName
onRequestAuthParams
queryMethod
encryptContent
serverCertificate
sessionKeyLifeTime
authMethods
authNeed
appConfig
worker
Worker
getMessage
waitMessage
terminate
postMessage
util
format
print
puts
debug
error
inspect
isArray
isRegExp
isDate
isError
log
inherits
UBMail
TubMailReceiver
TubMailSender
Namespaces
UB
UBAbort
Repository
getWSNotifier
ns
format
i18n
isServer
App
preventDefault
registerEndpoint
addAppLevelMethod
serviceMethodByPassAuthentication
resolveStatic
globalCacheGet
globalCachePut
authFromRequest
els
getUISettings
deleteFromFTSIndex
updateFTSIndex
dbInTransaction
dbCommit
dbRollback
dbStartTransaction
serverConfig
name
staticPath
serverURL
localIPs
domain
defaultDatabase
customSettings
emitterEnabled
Session
setUser
runAsAdmin
runAsUser
id
userID
userRoles
userRoleNames
userLang
uData
callerIP
RLS
userInGroup
currentUserInGroup
userInAdmSubtable
currentStaffUnitInDocAdmSubtable
currentSender
currentReceiver
userOrUserGroupInAdmSubtable
virtualStores
Custom
saveContentToTempStore
moveToArchive
deleteContent
loadContentFromTempStore
moveToPermanentStore
fillResponse
loadBodyFromEntity
getTempFileName
fileVirtual
saveContentToTempStore
moveToArchive
deleteContent
loadContentFromTempStore
moveToPermanentStore
fillResponse
loadBodyFromEntity
getRevisionConfig
setRevisionIsPermanent
tempContentExists
fileVirtualWritePDF
saveContentToTempStore
mdb
fillResponse
saveContentToTempStore
loadContentFromTempStore
loadBodyFromEntity
moveToArchive
deleteContent
moveToPermanentStore
Classes
RequiredModule
require
id
filename
loaded
parent
children
TubList
clear
setBLOBValue
byName
asJSON
count
items
strings
TubZipReader
unZipToBuffer
unZipToDir
unZipAllToDir
fileNames
fileCount
TubZipWriter
addBuffer
addFile
freeNative
Process
cwd
nextTick
listenerCount
startupPath
binPath
configPath
env
argv
isServer
isWebSocketServer
isWebSocketEnabled
isDebug
startupMode
TubConnection
TubEntityAttribute
TubEntityAttributeList
byName
asJSON
count
items
strings
TubEntity
addMethod
name
modelName
caption
description
connectionName
connectionConfig
connection
cacheType
dsType
sqlAlias
descriptionAttribute
documentation
idGenerator
attributes
existSequence
refSequenceName
allowGenSequence
allowUseSequence
TubDataStore
run
runSQL
execSQL
initFromJSON
fieldIndexByName
get
getAsBuffer
next
prev
first
last
generateID
freeNative
initialize
bof
eof
entity
connection
initialized
asJSONObject
asJSONArray
asXMLPersistent
currentDataName
rowCount
totalRowCount
rowPos
TubNamedCollection
byName
asJSON
count
items
strings
ubMethodParams
preventDefault
skipOptimisticLock
dataStore
originalParams
mParams
externalCall
THTTPRequest
read
headers
method
url
uri
decodedUri
parameters
decodedParameters
body
THTTPResponse
writeHead
writeBinaryBase64
writeEnd
write
statusCode
TubDocumentRequest
createHandlerObject
saveBodyToFile
loadBodyFromFile
getBodyAsUnicodeString
setBodyAsUnicodeString
setBodyFromArrayBuffer
getBodyAsBase64String
getIsBodyLoaded
setContent
getContent
writeToTemp
entity
attribute
id
isDirty
forceMime
fileName
TubDocumentHandlerCustom
loadContent
attribute
request
storeConfig
content
WebSocketConnection
send
close
session
TubDomain
newFromJSON
byName
name
config
asJSON
count
items
strings
Interfaces
UBReader
read
UBWriter
write
TubDomainConfig
byName
models
asJSON
count
items
strings
TubModelConfig
byName
asJSON
count
items
strings
Events
exit
domainIsLoaded
login
registration
loginFailed
securityViolation
connect
Mixins
EventEmitter
setMaxListeners
getMaxListeners
emit
addListener
on
once
removeListener
removeAllListeners
listeners
listenerCount
Global
process
console
require
_
atob
btoa
__filename
__dirname
module
toLog
removeCommentsFromJSON
forceDirectories
removeDir
createGuid
sleep
worker
postWorkerMessage
getWorkerMessage
terminateWorkerThread
gc
ncrc32
nsha256
TubLoadContentBody
TubAttrDataType
TubCacheType
TubSQLDialect
TubEntityDataSourceType
TubSQLExpressionType
TubConnection
TubConnection
Properties of a database connection
Constructor
new
TubConnection
()