Chalarangelo / 30-seconds-of-code

Short code snippets for all your development needs
https://30secondsofcode.org/
Creative Commons Attribution 4.0 International
121.67k stars 12.03k forks source link

Set up infrastructure for prepared queries #2042

Closed Chalarangelo closed 1 year ago

Chalarangelo commented 1 year ago

Introduce a PreparedQueries utility to allow commonly-used queries to be set up in such a way that they can be used from the REPL console quickly and easily. Includes automatic caching to increase performance on long queries.