SqlExpression.ToExpression

Syntax

SqlExpression.ToExpression(sql as text, environment as record) as text

About

Converts the provided sql query to M code, with the available identifiers defined by environment. This function is intended for internal use only.