-record(db, { conn :: any(), execute :: fun((based:'query'(any()), any()) -> {ok, based:returned(any())} | {error, nil}) }).