Skip to main content

create

Macro create 

Source
create!() { /* proc-macro */ }
Expand description

prax::create! — schema-aware DSL targeting create. Top-level keys: data: (required), include xor select. Phase 5a is scalar-only — relation operators inside data: (nested writes) land in phase 5b.

prax::create!(client.user, {
    data: { email: "a@x.com", name: "Alice", age: 30 },
    select: { id: true, email: true },
});