Adapter quoting should use self.Relation.quote_character #2243
Labels
adapter_plugins
Issues relating to third-party adapter plugins
enhancement
New feature or request
stale
Issues that have gone stale
Describe the feature
Currently adapters each have to implement a
quote
method that returns a quoted form of the given identifier. But adapter plugins already define a Relation class that has aquote_character
, which is associated with the adapter. The base adapter should implement a default quote that just does''.join([self.Relation.quote_character, value, self.Relation.quote_character])
or similar.Describe alternatives you've considered
Adapters can effectively define quote characters twice.
Additional context
All databases,sort of
Who will this benefit?
Plugin developers
The text was updated successfully, but these errors were encountered: