Mid-level bindings for sqlite