{"repo":"kosame-rs/kosame","free":true,"listed":false,"github":"https://github.com/kosame-rs/kosame","clone":"git clone https://github.com/kosame-rs/kosame.git","description":"Macro-based Rust ORM focused on developer ergonomics, inspired by Prisma and Drizzle","language":"Rust","stars":90,"topics":["database","drizzle-orm","orm","postgresql","prisma","rust"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"Macro-based Rust ORM focused on developer ergonomics Kosame (小雨, Japanese for \"light rain\" or \"drizzle\") is a Rust ORM inspired by Prisma and Drizzle. Some TypeScript ORMs like Prisma can infer the result type of a database query based solely on the database schema and the query itself. Conversely, most Rust ORMs require developers to manually define a struct for the query's results, even though this type is tightly coupled to the query itself. Kosame was born out of a desire to have this level of developer ergonomics in Rust, using macro magic. Kosame also offers relational queries, allowing you to fetch multiple nested 1:N relationships in a single statement. Kosame requires no active database connection during development and has no build step. Despite this, Kosame offers strong typing and rust-analyzer auto-completion. Kosame is currently a prototype and not recommended for production use. - Showcase - Planned features - Declaring the schema Column renaming and type overrides Relations - Queries Columns and relations Aliases and type overrides Attributes Expressions Bind parameters where , order by , limit , and offset Named vs. anonymous queries - Statements select insert update delete - Kosame CLI Formatting Kosame macros + Editor integration - Neovim with conform.nvim - Can Kosame handle all use cases well? Showcase Planned features Kosame is an early prototype. There are many features and performance optimizations left to implement, including but not limited to: Suppo","default_branch":null,"files":null,"tree":[],"storefront":"/r/kosame-rs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kosame-rs/kosame/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."}