Different database servers use different ways to quote and escape identifiers.
E.g. "foo bar" vs `foo bar` vs [foo bar], or "10""" vs "10\"", or identifiers such as FooBar or array need to be quoted for some databases but not for others.
Is there any API method that performs the quoting/escaping correctly for a given database connection? Or any alternative solution?