mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-06 07:34:21 +01:00
I was tempted to create a new db_select_stmt wrapper type, but that means a lot of boilerplate around binding, which expects to work with db_prepare *and* db_select_prepare. This lets us clearly differentiate between db queries (which don't need to go to a plugin) and db changes (which do). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>