úμí# $(SQL query text, entity definition) !Pairs (column name, column type) Convert SELECT query 5Select list of records from DB using given SQL query  SQL query Filters .Check if given SQL query is safe SELECT query Allowed table names  SQL query =Select list of records from DB using given SQL SELECT query. 8 Query is checked for safety (arbitrary function calls, . complex expressions, etc are not permitted). . Each row will be represented as [PersistValue]. Names of allowed tables  SQL query .Quasi-quoter which parses SQL SELECT queries.  Example input:   ( SELECT family, salary FROM employee;  --------------------  family String  salary Int NB: entity name will be " Undefined", so  you''ll need to use record update syntax to / set name your want, e.g. entity {entityName = "Query"}. 8Load entity declaration from file containing SQL query.  TH version. 7Load entity declaration from file containing SQL query Parse SQL entity declaration #File name to use in error messages Declaration text  !"#      !"#$%persistent-hssqlppp-0.1Database.Persist.HsSqlPppQueryselectFromQuerycheckSQLselectFromQuery' persistSqlpersistSqlFileparseEntityFromFile parseEntityIsName name2stringTypestoStringallE<&>emptyAnn makeQueryaddWherename convertConddummyFromFilts tableColumn convertSelectgetColumnNames checkSelect getConnection parseSelectT parseSelect parseTypes lowerName lookupType getColumnType getColumnName convertColumngetType getFuncType