WIP: Add persistence to new docks
This commit is contained in:
parent
4898417617
commit
89d8bb1425
7 changed files with 181 additions and 26 deletions
|
@ -27,7 +27,7 @@ impl StaticColumnCount for bool {}
|
|||
impl Bind for bool {
|
||||
fn bind(&self, statement: &Statement, start_index: i32) -> Result<i32> {
|
||||
statement
|
||||
.bind(self.then_some(1).unwrap_or(0), start_index)
|
||||
.bind(&self.then_some(1).unwrap_or(0), start_index)
|
||||
.with_context(|| format!("Failed to bind bool at index {start_index}"))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue