ColumnResource is the resource key for a column.
| 92 | |
| 93 | // ColumnResource is the resource key for a column. |
| 94 | type ColumnResource struct { |
| 95 | // Server is the normalized server name, it's empty if the column comes from the connected server. |
| 96 | Server string |
| 97 | // Database is the normalized database name, it should not be empty. |
| 98 | Database string |
| 99 | // Schema is the normalized schema name, it should not be empty for the engines that support schema, and should be empty for the engines that don't support schema. |
| 100 | Schema string |
| 101 | // Table is the normalized table name, it should not be empty. |
| 102 | Table string |
| 103 | // Column is the normalized column name, it should not be empty. |
| 104 | Column string |
| 105 | } |
| 106 | |
| 107 | // String returns the string format of the column resource. |
| 108 | func (c ColumnResource) String() string { |
nothing calls this directly
no outgoing calls
no test coverage detected