Store
Object which stores data (Database)
- BrowseName
- Store
- SuperType
- Object(BaseObjectType)
Properties
| Name | BrowseName | DataType | Description |
|---|---|---|---|
| Max column name length | MaxColumnNameLength | UInt32 | Maximum length of column names |
| Max columns count | MaxColumnCount | UInt32 | Max columns count |
| Data type compatibility map | DataTypeCompatibilityMap | NodeId | Map of the compatibility for the column data type |
| Status | Status | Store status | Database connectivity status |
| Tables | Tables | Table | Database tables |
Methods
Add table
- BrowseName
- AddTable
Add a table to the store
| Name | DataType | Description |
|---|---|---|
| Name | String | Name of the new table |
Remove table
- BrowseName
- RemoveTable
Remove a table from the store
| Name | DataType | Description |
|---|---|---|
| Name | String | Name of table to be removed |
Rename table
- BrowseName
- RenameTable
Rename a Database table
Query
- BrowseName
- Query
ANSI SQL query
| Name | DataType | Description |
|---|---|---|
| Query | String | ANSI SQL query |
| Name | DataType | Description |
|---|---|---|
| Header | String | Query column header |
| ResultSet | BaseDataType | Query result set |
Open query
- BrowseName
- QueryOpen
Open paged query
| Name | DataType | Description |
|---|---|---|
| Query | String | ANSI SQL query |
Query page
- BrowseName
- QueryPage
Query a specific page of an already opened paged query
| Name | DataType | Description |
|---|---|---|
| QueryHandle | Guid | Handle that represents the open query |
| Offset | UInt32 | Paged query offset |
| Size | UInt32 | Size of the page returned from the store |
| Name | DataType | Description |
|---|---|---|
| ResultSet | BaseDataType | Query result set |
Close query
- BrowseName
- QueryClose
Close paged query
| Name | DataType | Description |
|---|---|---|
| QueryHandle | Guid | Handle that represents the open query |
Add column
- BrowseName
- AddColumn
Add a new column to the store
Remove column
- BrowseName
- RemoveColumn
Remove this column from the store
Rename column
- BrowseName
- RenameColumn
Name of the column to be renamed
Insert
- BrowseName
- Insert
Isert data to the store
| Name | DataType | Description |
|---|---|---|
| TableName | String | Table name |
| ColumnNames | String | Column names for insert |
| Values | BaseDataType | List of records to be inserted |
