Commit Graph

227 Commits

Author SHA1 Message Date
davidemazzocchi b3ee2da12c chore: run cargo format on the code base 2026-03-09 08:39:15 +01:00
davidemazzocchi de7849dfde chore: remove small inefficiency from comparison statement 2026-03-09 08:39:15 +01:00
davidemazzocchi 1adf4f0f2d chore: update documentation of catalog.for_each method 2026-03-09 08:39:15 +01:00
davidemazzocchi 98bc282c32 fix: make catalog.delete coherent with other methods propagating errors 2026-03-09 08:39:15 +01:00
davidemazzocchi 70ff843522 chore: fix example by deleting the useless map from list 2026-03-09 08:39:15 +01:00
davidemazzocchi 4b27fa3700 chore: commit cargo.lock after verion bump 2026-03-09 08:39:15 +01:00
davidemazzocchi a641599476 chore: bump version to 0.10.0 2026-03-09 08:39:15 +01:00
davidemazzocchi 915f9d320d doc: update documentation of catalog.list_by_subclass method 2026-03-09 08:39:15 +01:00
davidemazzocchi 181e310ebd feat: simplify return type of catalog.list_by_subclass method 2026-03-09 08:39:15 +01:00
davidemazzocchi dcfa4dee4b doc: update documentation of catalog.list method 2026-03-09 08:39:15 +01:00
davidemazzocchi 68c6ca4e9f feat: simplify return type of catalog.list method 2026-03-09 08:39:15 +01:00
davidemazzocchi cdf5ead07d chore: bump minor version to 0.9.0 2026-03-09 08:39:15 +01:00
davidemazzocchi dd259fcbe7 chore: rewrite mapping closures for sqlite errors 2026-03-09 08:39:15 +01:00
davidemazzocchi feecaea417 feat: encapsulate rusqlite::Error into sqlite::FailedTo (PrepareStatement) 2026-03-09 08:39:15 +01:00
davidemazzocchi 09786f4d77 feat: encapsulate rusqlite::Error into sqlite::FailedTo (OpenConnection) 2026-03-09 08:39:15 +01:00
davidemazzocchi b48ae74a47 feat: encapsulate rusqlite::Error into sqlite::FailedTo (ExecuteStatement) 2026-03-09 08:39:15 +01:00
davidemazzocchi 302ede497f feat: encapsulate rusqlite::Error into sqlite::FailedTo (ExecuteQuery) 2026-03-09 08:39:15 +01:00
davidemazzocchi b17d9fc988 feat: encapsulate rusqlite::Error into sqlite::FailedTo (ExecuteBatch) 2026-03-09 08:39:15 +01:00
davidemazzocchi dfb168b031 feat: encapsulate rusqlite::Error into sqlite::FailedTo enum (CommitTransaction) 2026-03-09 08:39:15 +01:00
davidemazzocchi 0467ef6a75 feat: encapsulate rusqlite::Error into sqlite::FailedTo enum (begin transaction) 2026-03-09 08:39:15 +01:00
davidemazzocchi 4cca2f1126 feat: make IsExactly equality more strict and case sensitive 2026-03-09 08:39:15 +01:00
davidemazzocchi ed936be08c chore: make entity column names explicity during query in load by id 2026-03-09 08:39:15 +01:00
davidemazzocchi 558be49adb chore: make entity column names explicity during query in load by class 2026-03-09 08:39:15 +01:00
davidemazzocchi 9ff09c402f chore: add explicit listing to attribute columns output in query 2026-03-09 08:39:15 +01:00
davidemazzocchi 4075c2e58b feat: implement to_sql trait for value enum 2026-03-09 08:39:14 +01:00
davidemazzocchi 51e18d66a7 fix: update rust doc for unsigned 32 value variant 2026-03-09 08:39:14 +01:00
davidemazzocchi e30dcbb9c9 feat: add a new index for entity_id in table attribute 2026-03-09 08:39:14 +01:00
davidemazzocchi 8d7b3592de chore: add github repository url in crate Cargo.toml 2026-03-09 08:39:14 +01:00
davidemazzocchi 338521db43 chore: add description, license and keywords to crate Cargo.toml 2026-03-09 08:39:14 +01:00
davidemazzocchi 313248b1a5 fix: change mutability to ref while loading by id 2026-03-09 08:39:14 +01:00
davidemazzocchi 5db868b192 fix: change mutability to ref while loading with filter 2026-03-09 08:39:14 +01:00
davidemazzocchi 5215a3a724 fix: change mutability to ref while loading and inserting many 2026-03-09 08:39:14 +01:00
davidemazzocchi edc9d64744 fix: change mutability to ref while deleting items from catalog 2026-03-09 08:39:14 +01:00
davidemazzocchi 7718daddda chore: rename key parameter to id while checking for existence 2026-03-09 08:39:14 +01:00
davidemazzocchi 46ab14738d fix: update condition types after u64 deprecation from rusqlite update 2026-03-09 08:39:14 +01:00
davidemazzocchi 33e40fb634 fix: avoid init and writig db file during automatic tests 2026-03-09 08:39:14 +01:00
davidemazzocchi 9a10d75304 chore: clean useless conversion after ditching u64 2026-03-09 08:39:14 +01:00
davidemazzocchi 0f79f4adfb chore: sort alphabetically use directives in example 2026-03-09 08:39:14 +01:00
davidemazzocchi 1f9228f31e chore: update method name from load_by_class to load 2026-03-09 08:39:14 +01:00
davidemazzocchi b59cb0fb56 chore: upgrade rusqlite dependency to 0.38.0 2026-03-09 08:39:14 +01:00
davidemazzocchi 3b3e495254 chore: rename list_by_class to list 2026-03-09 08:39:14 +01:00
davidemazzocchi 7847394d13 chore: box structs into modules (catalog, eav, filter) 2026-03-09 08:39:14 +01:00
davidemazzocchi 4010149ea6 doc: document method catalog.ensure_init 2026-03-09 08:39:14 +01:00
davidemazzocchi 98e50faa4e feat: add method ensure_init runnable at will without overhead 2026-03-09 08:39:14 +01:00
davidemazzocchi e316ec83a3 chore: tidy redeclarations in lib.rs 2026-03-09 08:39:14 +01:00
davidemazzocchi 4428cd094f chore: rename load_by_class_and_subclass to load_by_subclass 2026-03-09 08:39:14 +01:00
davidemazzocchi cb0f0cfa31 chore: rename load_by_class to load 2026-03-09 08:39:14 +01:00
davidemazzocchi f86d53e16f chore: delete test database wrongly pushed 2026-03-09 08:39:14 +01:00
davidemazzocchi da74060d51 feat: return a vector of boxed error from catalog.for_each_mut
execution is not interrupted and user can raise any error implementing
Error trait
2026-03-09 08:39:14 +01:00
davidemazzocchi 222864389c chore: add Clone as Trait requirement for EAV 2026-03-09 08:39:14 +01:00