| 3 | |
| 4 | /** Translator interface for translating `QueryDescription` objects to regular queries. */ |
| 5 | export interface Translator { |
| 6 | /** Translate a query description into a regular query. */ |
| 7 | translateToQuery(query: QueryDescription): Query; |
| 8 | |
| 9 | /** Format a field to the database format, e.g. `userName` to `user_name`. */ |
| 10 | formatFieldNameToDatabase( |
| 11 | fieldName: string | FieldAlias, |
| 12 | ): string | FieldAlias; |
| 13 | } |
no outgoing calls
no test coverage detected