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?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…