Skip to main content

generate

Function generate 

Source
pub fn generate() -> GeneratedClient
Expand description

Generate the client from the live registry + REST config.

Reads every registered model, keeps the REST-exposed ones, and resolves FK value types against the full set (so a filter on an FK column gets the target’s real PK type even when the target model isn’t itself exposed).