ObjectTypeColumnMapping
Object type column mapping.
| Full name | MFiles.ObjectTypeColumnMapping |
|---|---|
| Proto file | mfiles/structs.proto |
Fields
| Field | Type | Number | Description |
|---|---|---|---|
object_type | int32 | 1 | Object type ID. |
ordinal | int32 | 2 | One-based source field ordinal. |
source_field | string | 3 | Source field name. |
data_type | uint32 | 4 | Source field's data type. |
target_property_def | int32 | 5 | Target property definition. |
can_insert | bool | 6 | Is the source field part of insertion operations? |
can_update | bool | 7 | Is the source field part of update operations? |
Used by methods
- IRPCObjectTypesAdmin.ParseSQLSelectStatement -- Connects to an external database and returns the source table and columns of a SELECT statement, to set up the column mappings of an external object type.
Used in fields
ValueListAdmin.database_column_mappings-- Column mappings.ParseSQLSelectStatementResponse.putf8szcolmappings-- One mapping per column in the SELECT list, with only the source column details set; fill in the target property definitions yourself.