This is a simple todo app implemented with SQLPage. It uses a PostgreSQL database to store the todo items.
It is meant as an illustrative example of how to use SQLPage to create a simple CRUD application. See the SQLite version for a more detailed explanation of the structure of the application.
- URL parameters that contain numeric identifiers are cast to integers using the
::intoperator - the
printffunction is replaced with theformatfunction - primary keys are generated using the
serialtype - dates and times are formatted using the
to_charfunction - the
INSERT OR REPLACEstatement is replaced with theON CONFLICTclause
/screenshot.png)