rename low-level db api

This commit is contained in:
yggverse 2024-11-13 11:45:33 +02:00
parent 091b7da7b8
commit aa076b370b
27 changed files with 70 additions and 70 deletions

View file

@ -22,7 +22,7 @@ pub fn init(tx: &Transaction) -> Result<usize, Error> {
)
}
pub fn add(
pub fn insert(
tx: &Transaction,
app_browser_id: &i64,
default_width: &i32,
@ -45,7 +45,7 @@ pub fn add(
)
}
pub fn records(tx: &Transaction, app_browser_id: &i64) -> Result<Vec<Table>, Error> {
pub fn select(tx: &Transaction, app_browser_id: &i64) -> Result<Vec<Table>, Error> {
let mut stmt = tx.prepare(
"SELECT `id`,
`app_browser_id`,