-
0493a2ef66
doc: add an example to showcase how to work with class and subclass
davidemazzocchi
2025-10-21 08:45:07 +02:00
-
c3594b6a3f
feat: add entity.subclass index to db schema
davidemazzocchi
2025-10-21 08:20:12 +02:00
-
314c9ce323
feat: add class and subclass to filter struct
davidemazzocchi
2025-10-20 18:09:27 +02:00
-
276d6bd0bb
test: add tests for catalog.list_by_class_and_subclass function
davidemazzocchi
2025-10-20 16:29:13 +02:00
-
baa3fc9147
feat: add subclass to entity struct
davidemazzocchi
2025-10-20 16:20:56 +02:00
-
c41e806817
doc: improve documentation of publicly available functions, structs and enums
davidemazzocchi
2025-10-20 15:21:25 +02:00
-
1b10d350cc
doc: add crate level documentation with working example
davidemazzocchi
2025-10-20 09:55:57 +02:00
-
60f3e0023e
doc: add filter example with multiple conditions
davidemazzocchi
2025-10-20 09:09:39 +02:00
-
9ee86c9cde
fix: set unique names for attribute table in case of multiple filter conditions
davidemazzocchi
2025-10-20 09:09:17 +02:00
-
81bed07665
feat: handle comparisons =, >, <, >=, <= for condition real
davidemazzocchi
2025-10-20 08:26:23 +02:00
-
bc9aee953c
review: rewrite match statement for parameter building
davidemazzocchi
2025-10-19 12:22:01 +02:00
-
95373731d2
feat: handle comparisons "ends with" and "contains" for text condition
davidemazzocchi
2025-10-19 12:08:47 +02:00
-
ceecdd3912
feat: handle comparison "starts with" for text condition
davidemazzocchi
2025-10-19 11:56:01 +02:00
-
b26e69b14d
feat: handle comparison "is exactly" for text condition
davidemazzocchi
2025-10-19 11:17:37 +02:00
-
9af3cb27c2
feat: add error handling during filter composition and new filter conditions for text matching
davidemazzocchi
2025-10-19 11:08:22 +02:00
-
2e42afbb04
feat: handle comparisons =, >, <, >=, <= for unsigned int condition
davidemazzocchi
2025-10-19 10:51:38 +02:00
-
01a6e2ce48
chore: run cargo format and delete empty lines in catalog.rs
davidemazzocchi
2025-10-19 10:27:41 +02:00
-
45093a5672
feat: handle comparison "lesser or equal" for signed int contidion
davidemazzocchi
2025-10-19 10:26:34 +02:00
-
3d6dfef254
feat: handle comparison "greater or equal" for signed int condition
davidemazzocchi
2025-10-19 10:18:13 +02:00
-
3feb0d464e
feat: handle comparison "lesser" for signed int condition
davidemazzocchi
2025-10-19 10:05:48 +02:00
-
8e8e964e3f
feat: handle comparison "greater" for signed int condition
davidemazzocchi
2025-10-19 09:44:48 +02:00
-
377b232128
test: add test to catalog.load_by_filter function
davidemazzocchi
2025-10-19 09:02:33 +02:00
-
423cadf821
review: remove useless redundant tests from sqlite_load_by_filter function
davidemazzocchi
2025-10-19 08:54:10 +02:00
-
b43c705ad6
review: refactor inner join fragment creation using template and helper function
davidemazzocchi
2025-10-19 08:44:23 +02:00
-
3ee7d97275
review: use INNER JOIN to create filter statement
davidemazzocchi
2025-10-19 08:14:23 +02:00
-
9ac8cb1249
chore: run cargo format
davidemazzocchi
2025-10-19 07:50:47 +02:00
-
c385dbf85f
review: rewrite sqlite_build_params and remove useless tests
davidemazzocchi
2025-10-19 07:50:13 +02:00
-
489492ab15
doc: add initial documentation for load_by_filter function in catalog
davidemazzocchi
2025-10-18 20:03:50 +02:00
-
501ee9013a
review: add review comments to sqlite_build_statement function
davidemazzocchi
2025-10-18 20:03:24 +02:00
-
cca78b2b56
fix: check test assert with correct item
davidemazzocchi
2025-10-18 12:09:54 +02:00
-
fe1a6824a7
chore: improve justfile command with specific hour for git log
davidemazzocchi
2025-10-18 12:09:16 +02:00
-
f2c7267b64
feat: add signed integer filter condition with equal comparison
davidemazzocchi
2025-10-18 11:05:00 +02:00
-
5abdc4e133
feat: add placeholder implementation of comparison enum to allow different comparison operators
davidemazzocchi
2025-10-18 10:56:08 +02:00
-
20a68aa018
feat: add load_by_filter to catalog with possibility to filter by bool attribute
davidemazzocchi
2025-10-18 08:31:51 +02:00
-
c865c72c01
review: change trait requirements for EAV implementors
davidemazzocchi
2025-10-17 15:46:50 +02:00
-
5b0aa07a07
feat: catalog state is changed after persist, in memory state reflects db
davidemazzocchi
2025-10-17 12:21:40 +02:00
-
ced9998c75
chore: increase verbosity level for cargo semver checks output
davidemazzocchi
2025-10-17 11:14:21 +02:00
-
58e51f4f47
review: change trait req for entity unwrap* functions to TryFrom<Value> to handle errors
davidemazzocchi
2025-10-17 09:03:21 +02:00
-
05dc429d86
doc: add a disclaimer on breaking changes and bugs for early adopters
davidemazzocchi
2025-10-17 08:29:13 +02:00
-
688f16d486
review: replace panic! with generic rusqlite error while mapping attributes
davidemazzocchi
2025-10-17 07:27:08 +02:00
-
a5dcf7b54a
test: add tests to sqlite_persist_catalog function
davidemazzocchi
2025-10-16 16:15:49 +02:00
-
79fc4272b6
chore: delete test scenarios used during initial implementation
davidemazzocchi
2025-10-16 16:07:46 +02:00
-
aa1ff02d6d
chore: update comments using upsert instead of insert
davidemazzocchi
2025-10-16 16:02:01 +02:00
-
6e517e5938
fix: change expected entity status in test after changing from insert to upsert
davidemazzocchi
2025-10-16 15:59:31 +02:00
-
02178c018c
test: add tests to sqlite_map_row_to_entity function
davidemazzocchi
2025-10-16 15:56:53 +02:00
-
f9d2f1c4c0
test: add tests to sqlite_map_row_to_attribute function
davidemazzocchi
2025-10-16 15:54:10 +02:00
-
3095a78c89
test: add tests to sqlite_load_by_id function
davidemazzocchi
2025-10-16 15:53:52 +02:00
-
2bb3891b77
test: add tests to sqlite_load_by_class function
davidemazzocchi
2025-10-16 15:53:37 +02:00
-
440c46e03b
test: add tests to sqlite_load_attributes function
davidemazzocchi
2025-10-16 15:42:14 +02:00
-
06b0253e3e
chore: run cargo format
davidemazzocchi
2025-10-16 15:28:30 +02:00
-
6f39925fe3
test: add tests to sqlite_init_db function
davidemazzocchi
2025-10-16 15:28:19 +02:00
-
7509bd2bdf
doc: update README with the new upsert function for catalog
davidemazzocchi
2025-10-16 15:18:30 +02:00
-
e4ddeaf400
test: add integration tests to catalog
davidemazzocchi
2025-10-16 11:35:09 +02:00
-
b34532832e
test: add tests to catalog.load_by_class function
davidemazzocchi
2025-10-16 11:10:44 +02:00
-
270042a7e2
fix: map error coming from sqlite module to correct FailedTo function error
davidemazzocchi
2025-10-16 11:10:00 +02:00
-
9fff7b7460
test: add tests to catalog.load_by_id function
davidemazzocchi
2025-10-15 17:12:59 +02:00
-
335feade19
test: add tests to catalog.persist function
davidemazzocchi
2025-10-14 13:35:46 +02:00
-
358a30f303
fix: handle EntityState::Updated state while persisting catalog
davidemazzocchi
2025-10-14 13:28:11 +02:00
-
0cfeeb9134
test: add tests to catalog.persist function
davidemazzocchi
2025-10-14 13:27:48 +02:00
-
827ac20e87
feat: add EntityState::Updated, change name from insert to upsert in catalog
davidemazzocchi
2025-10-14 13:01:16 +02:00
-
c01cfaf027
test: add tests to catalog.persist function
davidemazzocchi
2025-10-14 12:40:17 +02:00
-
fb8bfa301b
test: add tests to catalog.delete function
davidemazzocchi
2025-10-14 11:52:03 +02:00
-
193e78409f
test: add tests for catalog.list_by_class_and_attribute function
davidemazzocchi
2025-10-14 11:44:08 +02:00
-
d52da2d8ec
test: add tests to catalog.list_by_class function
davidemazzocchi
2025-10-13 08:45:37 +02:00
-
1079f404fb
test: add tests to catalog.get function
davidemazzocchi
2025-10-13 08:31:05 +02:00
-
c6742fcddd
chore: add a command to extract devlog from commit messages
davidemazzocchi
2025-10-10 15:32:41 +02:00
-
3e24f2fb91
test: add tests to check catalog insert and insert_many functions
davidemazzocchi
2025-10-10 14:24:56 +02:00
-
16f76653e4
feat: add support for i32 and u32 primitive types
davidemazzocchi
2025-10-10 11:58:56 +02:00
-
d0b6cc2927
test: add tests implementations for catalog init
davidemazzocchi
2025-10-10 10:23:08 +02:00
-
2fffebc2c1
test: add test for catalog new
davidemazzocchi
2025-10-10 09:01:54 +02:00
-
8a9119e692
test: add Item struct to be used in test scenarios
davidemazzocchi
2025-10-10 08:56:06 +02:00
-
408022d479
chore: add a new just command to check for semver breaking changes
davidemazzocchi
2025-10-09 17:46:04 +02:00
-
6242404cfb
test: add a placeholder test battery for each sqlite function
davidemazzocchi
2025-10-09 21:09:31 +02:00
-
9f9f6bca62
test: add placeholders for catalog tests
davidemazzocchi
2025-10-09 20:54:26 +02:00
-
5c26f01890
review: clean code from comment blocks and placeholders
davidemazzocchi
2025-10-09 16:15:37 +02:00
-
718176edbd
doc: clean code for documentation output
davidemazzocchi
2025-10-09 15:41:39 +02:00
-
63ecb15824
doc: add doc comments to ctalog struct description
davidemazzocchi
2025-10-09 15:34:01 +02:00
-
5ec071ce63
doc: add doc comments to EAV trait
davidemazzocchi
2025-10-09 15:33:45 +02:00
-
784c171871
doc: add doc comments to FailedTo
davidemazzocchi
2025-10-09 15:24:31 +02:00
-
4c964efd42
doc: add entity_state doc comments
davidemazzocchi
2025-10-09 15:20:09 +02:00
-
0eb0422443
review: change visibility to attribute and value structs
davidemazzocchi
2025-10-09 15:18:12 +02:00
-
9a8f1f550b
chore: run cargo format
davidemazzocchi
2025-10-09 15:17:56 +02:00
-
062642ccd5
doc: add doc comments to entity struct
davidemazzocchi
2025-10-09 15:15:49 +02:00
-
b0d290407d
review: make value_of internal and remove unused function
davidemazzocchi
2025-10-09 15:11:54 +02:00
-
02eddc19e3
doc: update readme with actual example code
davidemazzocchi
2025-10-09 12:49:57 +02:00
-
8fb5a2ce72
doc: add a simple example of catalog use
davidemazzocchi
2025-10-09 11:33:16 +02:00
-
03243f3288
feat: add with_opt_attribute convenince function to handle options
davidemazzocchi
2025-10-08 16:51:06 +02:00
-
8f189f0640
doc: update instruction in README contributions section
davidemazzocchi
2025-10-08 06:59:16 +02:00
-
5c4562afc2
doc: add doc comments for delete and improve doc comment for persist
davidemazzocchi
2025-10-06 14:50:15 +02:00
-
8c0afe0c9c
feat: add ToDelete state to entity and perform deletion while persisting
davidemazzocchi
2025-10-06 07:52:12 +02:00
-
4c95b709c0
refactor: group sqlite-related errors under one enum
davidemazzocchi
2025-10-06 07:26:14 +02:00
-
cac890aa06
feat: add error handling for load functions to catalog
davidemazzocchi
2025-10-04 07:32:17 +02:00
-
5ec86bac7f
feat: add error handling to catalog persist function
davidemazzocchi
2025-10-04 07:03:08 +02:00
-
5a9b1a97ab
refactor: call catalog.insert while looping during catalog.insert_many
davidemazzocchi
2025-10-04 06:44:26 +02:00
-
21aaff25f4
feat: add error handling for database initialization
davidemazzocchi
2025-10-04 06:42:48 +02:00
-
4170a6b469
chore: fix wrong -u flag to git push command in .justfile
davidemazzocchi
2025-10-03 14:49:24 +02:00
-
31897711b9
doc: add more information to README.md
davidemazzocchi
2025-10-03 14:34:46 +02:00
-
97ec240490
chore: rename justfile to .justfile
davidemazzocchi
2025-10-03 10:30:54 +02:00
-
76a13005a7
chore: update justfile adding github.com to synced remotes
davidemazzocchi
2025-10-03 09:53:16 +02:00
-
ed55836f6e
chore: add justfile to handle codeberg.org repo sync
davidemazzocchi
2025-10-03 09:26:34 +02:00