raku-community-modules / DBIish

Database interface for Raku
89 stars 31 forks source link

Quote isn't consistent #193

Closed rbt closed 4 years ago

rbt commented 4 years ago

There are common quote() and quote-identifier() functions, but Pg has quote(:as-id) instead of a functional quote-identifier().

rbt commented 4 years ago

Looks like MySQL also has quote(:as-id) and marks quote-identifier as Legacy. I think both SQLite and Oracle need the :as-id variant and for quote-identifier to be deprecated.

The only test for quote-identifier is for MySQL.