Comment on Ask HN: Is there is an sqlite3_expanded_SQL()'s equivalent for other DBMS?Comments−lfconsultOP2ySide note: The result of sqlite3_expanded_sql() is a pointer to the string containing the SQL statement with bound parametrer(s):"The string returned by sqlite3_expanded_sql(P) [...] is obtained from sqlite3_malloc() [...]"From SQLite documentation: https://www.sqlite.org/c3ref/expanded_sql.html
Comments
Side note: The result of sqlite3_expanded_sql() is a pointer to the string containing the SQL statement with bound parametrer(s):
"The string returned by sqlite3_expanded_sql(P) [...] is obtained from sqlite3_malloc() [...]"
From SQLite documentation: https://www.sqlite.org/c3ref/expanded_sql.html