Powerful & expressive ORM/query-builder/static checker for raw queries/Fully Automated migration tooling , designed to offer an intuitive API, strict type-checking, novel features, & full specification support. It provides a fresh perspective in data management. Currently supports SurrealDB engine. RDMSs(PG, MYSQL etc) and others coming soon
This supports typescript-like type utility to picking from existing struct. This can be useful especially in select statement when doing data aggredation from multiple tables and objects especially the nested ones.
#[pick(OldPerson, [age, num])]
#[pick(Book, [title, author])]
struct NewStructThing {
extra: String,
#[override] // This will generate an error by default and prompt you to use the override attribute.
age: u32,
}
Implement Pick Macro
Example usage
Future Plans and Contemplation
Support this alternative syntax?