Std.Db.Query.name
fn
name: Str -> Result[Str, Std.Db.Query.QueryError]This is a callable function.
What it does
A name, admitted only when it is one.
A table or a column cannot be a parameter, which is why a name taken from
a request is an injection point that parameters do not close. Refused
rather than quoted: quoting correctly depends on the dialect, and a quoted
name that was wrong is an injection that looks handled.
Read the signature
- The text after the name is the type checked by Pudu.
- Read arrows from left to right: inputs come first, and the final type is returned.
- Names inside [ ] are type arguments, such as the item type held by a collection.
- Result makes success and recoverable failure part of the function's type.
