Expand description
Build spikard_core::RouteMetadata from a scythe AnalyzedQuery.
Structs§
- SqlRoute
- One spikard route plus the SQL command and HTTP semantics needed to wire it up. Returned as a single value so callers don’t lose the join between the route’s identity (path/method/handler name) and the query metadata that produced it.
Enums§
Functions§
- bin_
param_ locations - Decide where each
AnalyzedParamis sourced from, falling back from explicit@http_paramoverrides to inference rules: - route_
from_ query - Build a
RouteMetadata(as JSON) from one analyzed query. ReturnsOk(None)when the query has no@httpdirective — those are skipped silently so SQL files can mix HTTP and non-HTTP queries freely.