This function is designed for internal use only and is responsible for converting the given SQL query into M code using the identifiers available in the environment.
Syntax
SqlExpression.ToExpression(sql as text, environment as record) as text
About
This function is designed for internal use only and is responsible for converting the given SQL query into M code using the identifiers available in the environment.