Skip to content

Comment on Ask HN: Is there is an sqlite3_expanded_SQL()'s equivalent for other DBMS?parent

Comments

I think it’s likely that other databases do not keep the query string you sent it around but convert it into some internal structure.

Converting that back to the query string you sent may be impossible because that structure won’t record comments, line breaks, indents, escaped characters and the like.

Converting it to a query string that, when sent back, produces the same internal structure should be possible, but as user selecsosi wrote “Most of this I would expect to be more on the client side than server”.

Thank you for your answer.

It makes sense.

I didn't catch the "client side" part as you do, thanks for the explanation.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.