normField returns field prefixed with schema ID.
(field, schemaID string)
| 859 | |
| 860 | //normField returns field prefixed with schema ID. |
| 861 | func normField(field, schemaID string) string { |
| 862 | if strings.Contains(field, ".") { |
| 863 | return field |
| 864 | } |
| 865 | return fmt.Sprintf("%s.%s", schemaID, field) |
| 866 | } |
| 867 | |
| 868 | type selectContext struct { |
| 869 | schema *schema.Schema |
no test coverage detected