#product-os #higher-order #sql-query #store #macro #framework #highly

macro product-os-store-macros

Product OS : Store Macros provides a highly flexible higher order framework for defining SQL queries by using Rust directly. This crate is to be used with Product OS : Store.

3 releases

0.0.3 Dec 2, 2023
0.0.2 Aug 21, 2023
0.0.1 Aug 20, 2023

#25 in #higher-order


Used in 5 crates

AGPL-3.0-only

88KB
1K SLoC

Product OS : Store Macros

Product OS : Store Macros provides a highly flexible higher order framework for defining SQL queries by using Rust directly. This crate is to be used with Product OS : Store.

What is Product OS?

Product OS is a collection of packages that provide different tools and features that can work together to build products more easily for the Rust ecosystem.

Installation

Use the Rust crate package manager cargo to install Product OS : Store Macros.

cargo add product-os-store-macros

or add Product OS : Store Macros to your cargo.toml [packages] section.

product-os-store-macros = { version = "0.0.3", features = [], default-features = true, optional = false }

Features

Product OS Store Macros provides a higher order farmework for defining SQL queries using Rust without needing to remember SQL syntax. The following is supported:

  • Simple queries
  • Complex queries involving joins
  • Specific queries to PostgreSQL supported
  • Follows the framework for Relational database structures defined in Product OS : Store
// Feature samples TODO

Usage

// Examples TODO

Contributing

Contributions are not currently available but will be available on a public repository soon.

License

GNU AGPLv3

Dependencies

~4.5MB
~86K SLoC