theBrain 10.0
NHI1 -
theKernel -
theLink -
theConfig -
theSq3Lite -
theCompiler -
theBrain -
theGuard
|
abrain is a LibMsgque server and a wrapper for the sqlLite
library to provide a database.
abrain server is best explained with a picture:
and the workflow:
abrain is a small database server for sqlLite.
The server is addressed via pipe, unix-domain-socket or network-socket and finally forwards the SQL to sqlLite.
The supported data-types are the data-types supported in LibMkKernel and are mapped to sqlLite. In order to enforce the data-types supported by LibMkKernel, these are checked in the passed SQL argument as well as in the results.
Open the database using open-name as:
open-name | one of file-name , :memory: or "" |
type | open-name |
---|---|
file based | file-name |
memory | :memory: |
tempdb | "" |
Close database, reset DATA
Execute sql-string.
sql-string | SQL string using sqlLite syntax |
Prepare sql-string
prepare-id | (optional) - use this id |
sql-string | (required) - SQL string using sqlLite syntax |
in:IDC
is an addition to SQL to enforce the datatype.in:xxx
and out:xxx
xxx
argument is one or more ONE character type-identifer from PRIMITIVE TYPE.in:IDC
= input argument type: I
Integer, D
Double and C
StringFinalize prepare-id
prepare-id | result from PREP |
Call prepare-id with argument and propably expect result
prepare-id | result from PREP |
args... | multiple arguments |
The STEP is using the definition from in:xxx
and out:xxx
to extract the required results from the prepare-id
usage: abrain [OPTION]... [ARGUMENT]... This tool is the database server of NHI1. main: https://theBrain.nhi1.de tool: https://thebrain.nhi1.de/theBrain.htm abrain [ARGUMENT]... syntax: aclient [OPTION]... @ abrain [OPTION]... [ARGUMENT] msgque [OPTION]: --help-msgque print msgque specific help abrain [OPTION]: -h, --help print this help