diff options
author | Kim Alvefur <zash@zash.se> | 2023-06-10 22:02:15 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2023-06-10 22:02:15 +0200 |
commit | 95687d9ddd62821e26ad417aa6caa2a9ce85694e (patch) | |
tree | 2c7e7d9921c9373a750ce767740bb71091f748c3 /spec/util_envload_spec.lua | |
parent | eaf8765ee99637dc218e7a2b71a2e9dc353b9c09 (diff) | |
download | prosody-95687d9ddd62821e26ad417aa6caa2a9ce85694e.tar.gz prosody-95687d9ddd62821e26ad417aa6caa2a9ce85694e.zip |
util.sqlite3: Deduplicate query methods
There were 3 very similar methods:
- :execute()
- :execute_query()
- :execute_update()
The first one returns the prepared statement and is mainly used
internally in the library for CREATE statements.
The later two only really differ in how the results are returned.
Those two are one main method and one small one that only picks out the
iterator.
Diffstat (limited to 'spec/util_envload_spec.lua')
0 files changed, 0 insertions, 0 deletions