{"repo":"Fyko/scyllax","free":true,"listed":false,"github":"https://github.com/Fyko/scyllax","clone":"git clone https://github.com/Fyko/scyllax.git","description":"A coalescing query system for Scylla","language":"Rust","stars":10,"topics":["coalescing","rust","scylla","tokio","orm"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"scyllax (sɪl-æks) A SQLx and Discord inspired query system for Scylla. Example 1. Model definition Before you can write any queries, you have to define a model. 2. Read queries With the [ read query ] attribute, it's easy to define select queries. 3. Upsert queries With the [ upsert query ] attribute, it's easy to define upsert queries. 4. Query Collections Scylla required queries be prepared before they can be executed. To prepare (and check) all queries at startup, create a query collection and pass it into an Executor. Features - [x] Read Queries - [x] Write Queries (https://github.com/fyko/scyllax/pull/1) - [x] Request Coalescing - [x] Compile-time Select Query Validation - ensure the where constraints exist on the struct - ensure the where constraints are the same type as the struct - [ ] Runtime Query Validation (structure matches schema) Request coalescing Request coalescing attaches equivalent in-flight calls as followers to one leader database operation. The current runtime implementation is being modernized toward the vocabulary in CONTEXT.md and the behavioral contract in ADR 0001. Todo - [x] Eject anyhow , more refined errors Usage See the example for more details. References 1. https://www.reddit.com/r/rust/comments/11ki2n7/a look at how discord uses rust for their data/jb8dmrx/ Messages from Jake the answer though is that unlike the scylla rust wrapper, we don't need the fields to be in the right order for our stuff to work. we do 2 clever things: 1) SELECT is a","default_branch":null,"files":null,"tree":[],"storefront":"/r/Fyko","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Fyko/scyllax/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}