Commit Graph

20 Commits (b2e63350283813ff5cbe89ad4c8ae68ff4b3fe1a)

Author SHA1 Message Date
Tomáš Mládek b2e6335028 chore: use url instead of string in address 2023-05-19 17:30:09 +02:00
Tomáš Mládek 5a6390e8f3 chore: fix typo 2022-09-19 22:58:07 +02:00
Tomáš Mládek afbd3b97ef fix: update project url, fix tests
:)
2022-07-31 22:53:12 +02:00
Tomáš Mládek 6fdc3e2f48
add `join` queries to the language (fixes #3) 2022-04-16 00:55:09 +02:00
Tomáš Mládek eec4f96293
reorganize query code in preparation for lang upgrade 2022-04-15 20:35:26 +02:00
Tomáš Mládek ab345bf50b
replace `???` with actual errors 2022-04-02 22:12:51 +02:00
Tomáš Mládek 1a05157a9d
fix and/or expressions generating incorrect sql 2022-03-30 12:29:52 +02:00
Tomáš Mládek 8c60a617a2
query lang - addresses are denoted by @, values need not match db deserialization format
e.g.` (matches @address ? ?)`, and `(matches ? ? "foo")` instead of "Sfoo"
2022-03-30 12:29:52 +02:00
Tomáš Mládek fd72034571
code cosmetics, lints
useless format! in tests
use raw strings where appropriate
2022-03-30 12:29:51 +02:00
Tomáš Mládek b417dad0ec
impl From<AsRef<str>> for EntryValue, replace where appropriate 2022-02-13 12:56:29 +01:00
Tomáš Mládek 25bc14e3b4
allow searching in entities (URLs, attrs) 2022-02-07 18:33:57 +01:00
Tomáš Mládek 2f664ce820
clear lexpr options just to be safe (no keywords) 2022-02-04 23:01:44 +01:00
Tomáš Mládek 6aa804584d
add (some) lang tests, implement "in" logic 2022-02-02 17:13:11 +01:00
Tomáš Mládek 34847f3321
fix search ("contains" query, UpObject params bug) 2022-01-30 16:20:02 +01:00
Tomáš Mládek 8c8d58847a
separate value_string and value_number columns
to be able to utilize SQL queries better for ranges, comparisons, etc.
2022-01-28 18:17:14 +01:00
Tomáš Mládek 2f6a265af8
alike value queries do not include addresses 2022-01-13 20:31:50 +01:00
Tomáš Mládek 7d0b23e955
impl fromstr for query 2021-12-21 12:01:40 +01:00
Tomáš Mládek 8e71e34a09
add not queries into uplang
somewhat awkwardly implemented as multiqueries, but hey
2021-12-21 11:50:46 +01:00
Tomáš Mládek 2b6886645b more cleanup and refactoring and moving
move models.rs and schema.rs into database::inner
create util module (with hash and jobs)
2021-07-26 21:14:51 +02:00
Tomáš Mládek 754c315cd2 refactor database.rs into separate files 2021-07-26 21:00:05 +02:00