parseSQL method

String parseSQL(
  1. String sql,
  2. bool doCreate, {
  3. bool escapeSlash = true,
  4. bool escapeRepeat = true,
  5. TParamStyle parameterStyle = TParamStyle.psInterbase,
  6. TParamBinding? paramBinding,
  7. TStringRef? replaceString,
})

Implementation

String parseSQL(String sql, bool doCreate,
    {bool escapeSlash = true,
    bool escapeRepeat = true,
    TParamStyle parameterStyle = TParamStyle.psInterbase,
    TParamBinding? paramBinding,
    TStringRef? replaceString}) {
  final po = createParseOpts(doCreate, escapeSlash, escapeRepeat);
  return doParseSQL(sql, po, parameterStyle, paramBinding ?? <int>[], " ",
      replaceString ?? TStringRef(""));
}