3 releases
0.0.4 | Dec 2, 2023 |
---|---|
0.0.3 | Dec 2, 2023 |
0.0.1 | Nov 13, 2023 |
#13 in #edge-db
Used in edgedb-composable-query
38KB
912 lines
edgedb-composable-query
Query arbitrary structs from EdgeDB. Compose queries of arbitrary complexity.
Beware: it's very much a work-in-progress. Pre-0.1. It's messy, there're todo!()'s in the code, etc. I'm still figuring out the semantics. If you're interested in this working for your use-cases, please try it and file the issues at: https://github.com/valyagolev/edgedb-composable-query/issues. But don't use it seriously yet; it might panic, and will change the API.
Two major parts of the crate:
-
A set of tools, around the
EdgedbObject
derivable trait, that allow you to query arbitrary rust structs from EdgeDB, converting types automatically. See examples below: https://docs.rs/edgedb-composable-query/latest/edgedb_composable_query/ -
A set of tools, around the
composable::EdgedbComposableQuery
derivable trait, that allow you express complex, composable queries through Rust structs and attributes. See docs and examples in the [composable] submodule: https://docs.rs/edgedb-composable-query/latest/edgedb_composable_query/composable/index.html
Dependencies
~1–1.6MB
~34K SLoC