|
|
5ec071ce63
|
doc: add doc comments to EAV trait
|
2026-03-09 08:39:10 +01:00 |
|
|
|
784c171871
|
doc: add doc comments to FailedTo
|
2026-03-09 08:39:10 +01:00 |
|
|
|
4c964efd42
|
doc: add entity_state doc comments
|
2026-03-09 08:39:10 +01:00 |
|
|
|
0eb0422443
|
review: change visibility to attribute and value structs
|
2026-03-09 08:39:10 +01:00 |
|
|
|
9a8f1f550b
|
chore: run cargo format
|
2026-03-09 08:39:10 +01:00 |
|
|
|
062642ccd5
|
doc: add doc comments to entity struct
|
2026-03-09 08:39:10 +01:00 |
|
|
|
b0d290407d
|
review: make value_of internal and remove unused function
|
2026-03-09 08:39:10 +01:00 |
|
|
|
8fb5a2ce72
|
doc: add a simple example of catalog use
|
2026-03-09 08:39:10 +01:00 |
|
|
|
03243f3288
|
feat: add with_opt_attribute convenince function to handle options
|
2026-03-09 08:39:10 +01:00 |
|
|
|
5c4562afc2
|
doc: add doc comments for delete and improve doc comment for persist
|
2026-03-09 08:39:09 +01:00 |
|
|
|
8c0afe0c9c
|
feat: add ToDelete state to entity and perform deletion while persisting
|
2026-03-09 08:39:09 +01:00 |
|
|
|
4c95b709c0
|
refactor: group sqlite-related errors under one enum
|
2026-03-09 08:39:09 +01:00 |
|
|
|
cac890aa06
|
feat: add error handling for load functions to catalog
|
2026-03-09 08:39:09 +01:00 |
|
|
|
5ec86bac7f
|
feat: add error handling to catalog persist function
|
2026-03-09 08:39:09 +01:00 |
|
|
|
5a9b1a97ab
|
refactor: call catalog.insert while looping during catalog.insert_many
|
2026-03-09 08:39:09 +01:00 |
|
|
|
21aaff25f4
|
feat: add error handling for database initialization
|
2026-03-09 08:39:09 +01:00 |
|
|
|
767f00ae36
|
feat: ensure entity and attributes are read in a single transaction
|
2026-03-09 08:39:09 +01:00 |
|
|
|
5230b8e5df
|
test: rewrite intended use scenario 1 with some new features
|
2026-03-09 08:39:09 +01:00 |
|
|
|
ae96dc56e1
|
review: remove the possibility to insert raw entities into catalog
|
2026-03-09 08:39:09 +01:00 |
|
|
|
67402dde03
|
review: remove Default for Entity
|
2026-03-09 08:39:09 +01:00 |
|
|
|
06a8b52e20
|
review: avoid using class in entity construction relying on T and EAV trait
|
2026-03-09 08:39:09 +01:00 |
|
|
|
cad5539a44
|
review: avoid using class string relying on T and EAV trait
|
2026-03-09 08:39:09 +01:00 |
|
|
|
733ffc36aa
|
doc: add doc comments to catalog implementation
|
2026-03-09 08:39:09 +01:00 |
|
|
|
cb22bf64e7
|
feat: return iterator from list functions
|
2026-03-09 08:39:09 +01:00 |
|
|
|
05085a0f7b
|
feat: make ref_date optional
|
2026-03-09 08:39:09 +01:00 |
|
|
|
36bb9e3845
|
feat: add ref_date field to entity
|
2026-03-09 08:39:09 +01:00 |
|
|
|
cf3ab35144
|
fix: correct intended use for entity state
|
2026-03-09 08:39:09 +01:00 |
|
|
|
c4b7352b8c
|
feat: add get_by_class_and_attribute function to catalog
|
2026-03-09 08:39:09 +01:00 |
|
|
|
ddd1957c44
|
feat: add unwrap_opt function to entity to unwrap optional values
|
2026-03-09 08:39:09 +01:00 |
|
|
|
1a890ea98a
|
chore: clean code from stdout logging
|
2026-03-09 08:39:09 +01:00 |
|
|
|
97e54e7891
|
feat: add entity state to speed up catalog persist function
|
2026-03-09 08:39:09 +01:00 |
|
|
|
8cf8e36b2a
|
refactor: use items.insert instead of insert to add entities after load
|
2026-03-09 08:39:09 +01:00 |
|
|
|
78fb2e6499
|
chore: run cargo format
|
2026-03-09 08:39:09 +01:00 |
|
|
|
e0331921ee
|
feat: add entity_class and attribute_id indexes to db structure
|
2026-03-09 08:39:09 +01:00 |
|
|
|
835feb7450
|
fix: force bool value to 0 or 1 into db
|
2026-03-09 08:39:09 +01:00 |
|
|
|
22d58c4c5f
|
feat: add unwrap_or to entity, rewrite unwrap
|
2026-03-09 08:39:09 +01:00 |
|
|
|
f91b755619
|
feat: add function to list entities by class
|
2026-03-09 08:39:08 +01:00 |
|
|
|
fecfc46751
|
feat: add load_by_class function to catalog
|
2026-03-09 08:39:08 +01:00 |
|
|
|
ab491130a7
|
refactor: extract load_attributes from load_by_id
|
2026-03-09 08:39:08 +01:00 |
|
|
|
172cffaad2
|
feat: add has_attribute function to entity
|
2026-03-09 08:39:08 +01:00 |
|
|
|
8852a9569e
|
feat: add load_by_id function to catalog
|
2026-03-09 08:39:08 +01:00 |
|
|
|
ed40d87e2f
|
fix: remove useless initialization during catalog construction
|
2026-03-09 08:39:08 +01:00 |
|
|
|
6f77463038
|
refactor: split persist function into sub functions for readability
|
2026-03-09 08:39:08 +01:00 |
|
|
|
502fc8b7d0
|
refactor: remove ToEAV trait in favor of Into<Entity>
|
2026-03-09 08:39:08 +01:00 |
|
|
|
70c3b9108e
|
refactor: remove FromEAV trait in favor of From<Entity>
|
2026-03-09 08:39:08 +01:00 |
|
|
|
af860bdb22
|
refactor: remove trait to_value in favor of Into<Value>
|
2026-03-09 08:39:08 +01:00 |
|
|
|
90fa4119dd
|
feat: add catalog persistance
|
2026-03-09 08:39:08 +01:00 |
|
|
|
b063ecaf9c
|
feat: add sqlite db initialization from catalog
|
2026-03-09 08:39:08 +01:00 |
|
|
|
3c31009db2
|
test: add rusty budget scenario
|
2026-03-09 08:39:08 +01:00 |
|
|
|
c275c60b34
|
feat: add get function to catalog
|
2026-03-09 08:39:08 +01:00 |
|