Quick Reference
| Symbol | Name | Function | SQL Equivalent |
|---|---|---|---|
| :: | The Gate | Action (get/set/del/make) | SELECT/UPDATE... |
| • | The Pivot | From Table | FROM table |
| @ | The Hook | Column | col1, col2 |
| [] | The Cage | Filter/Limit/Set | WHERE/LIMIT... |
| ~ | The Fuse | Fuzzy Match | ILIKE |
| | | The Split | Logical OR | OR |
| & | The Bind | Logical AND | AND |
| ^! | The Peak | Desc Sort | ORDER BY DESC |
| ^ | The Rise | Asc Sort | ORDER BY ASC |
| * | The Star | All Columns | * |
| $ | The Var | Parameter | $1 |
Installation
CLI (Recommended)
cargo install qailAs a Library
[dependencies]
qail = "0.3"Syntax Deep Dive
Simple Fetch
get::users•@id@email[active=true]Mutations
set::users•[verified=true][id=$1]Migrations
make::users•@id:uuid^pk@email:str^uniqmod::users•+phone:str@-age