Get app

Purpose: Obtain data that describes the application.

 get-app \
         name | directory | file-directory |
         ( user-directory [ user <user> ] ) | \
         ( socket-file [ user <user> ] [ application <app> ] ) \
         | db-vendor <database configuration> | upload-size \
         | path | is-service | stack-depth \
     to <variable>

Application-related variables can be obtained with get-app statement. The following application variables can be obtained (they are all strings unless indicated otherwise):
Examples
Get the name of Golf application:
 get-app name to appname

Get the vendor of database db:
 get-app db-vendor db to dbv
 if-true dbv equal GG_POSTGRES
     // do something Postgres specific
 end-if



Copyright (c) 2019-2025 Gliim LLC. All contents on this web site is "AS IS" without warranties or guarantees of any kind.