on-internet
← Community

How to resolve odd escape behavior with strings in DuckDB Lisp Binding (uses PostgreSQL parser)

Stack Overflow ·

Would love your thoughts on the following: I am using DuckDB in my program (Common Lisp, with the CFFI interface to the C DuckDB binding), and want to execute the following query: SELECT EXISTS ( SELECT 1 FROM information_schema.tables WHERE table_schema = 'public' AND table_name = 'hsm_table' ); I have tested the library and all seems well, e.g. in the REPL: * (ddb:query "SELECT EXISTS ( SELECT 1 FROM information_schema.tables WHERE table_schema = 'public' AND table_name = 'hsm_table' );" nil) (("EXISTS(SELECT 1 FROM information_schema.\"tables\" WHERE ((table_schema = 'public') AND (table_na

Comments

Sign in or sign up to comment and upvote.

No comments yet.