DataSource :: workspacePath - WORKSPACE option
The workspace variable defines the basic workspace to be used in the application. The application can open workspaces on top of the base workspace but not below. The defined workspace is either the base for the operation (when passing a workspace name) or the workspace for running the operation (when no workspace name has been passed).
A workspace can be defined only when the workspace feature is enabled. When not defining a workspace the database is opened directly.
Default: empty
Usually new workspace files are created in the same folder as the database. You may, however, pass an explicit location for the workspace via this parameter.
group1_ws.my_ws // my work space in a group work space
Implementation overview
- Get workspace name
DataSource :: workspacePath (  ) - Change workspace path
DataSource :: workspacePath ( sWorkspacePath )
Implementation details
-
Get workspace name
odaba::String DataSource  :: workspacePath (  )
The function returns the workspace name currently set in the data source.
to list
-
Change workspace path
odaba::String DataSource  :: workspacePath ( odaba::String &sWorkspacePath )
The function sets the workspace path for the data source to the value passed in sWorkspacePath. The function does not close the database, i.e. in order to activate the value, the data source must be reopened.
- sWorkspacePath
- File path to the workspace database location
Usually new workspace files are created in the same folder as the database. You may, however, pass an explicit location for the workspace via this parameter.
group1_ws.my_ws // my work space in a group work space
to list
- sWorkspacePath
- File path to the workspace database location