Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Create escape literal method

#209

I'm currently attempting to create a high-level query builder specific to my application and I need to manually escape literals so they can be added to the query I'm building.

Reported by Alex Shafer · April 21st, 2014 @ 01:58 AM

State: open
Milestone: psycopg3
Assigned to: nobody

Activity

  1. Daniele Varrazzo
    Daniele Varrazzo
    • State changed from new to open
    • Milestone set to psycopg3

    It's in program for psycopg3, not before.

    Before that you can create your subclass of string, call it Identifier, create an adapter for it and do the double-quote string escaping. Everything needed is in the documentation.

    April 21st, 2014 @ 09:37 AM