kiwanami / emacs-edbi

Database Interface for Emacs Lisp
352 stars 34 forks source link

Quoting tables #48

Open Ambrevar opened 5 years ago

Ambrevar commented 5 years ago

I have a table names 'foo-bar' and edbi fails to display it with

Error: near "-": syntax error

From the commandline, a

$ sqlite3 database.db "SELECT * FROM social-account;"

produces the same error, while

$ sqlite3 database.db "SELECT * FROM 'social-account';"

works.

Something wrong with edbi not quoting?