Std.Db.Schema.Bindable
1 declaration
trait
BindableThis declaration names behavior that types can implement.
What it does
How a value is written when it travels as a parameter.
Separate from how a value is shown to a person, because showing text quotes
it and a quoted value in a parameter is a different value. That mistake
passes every test written with numbers.
A value carries its own type across, rather than its spelling.
Rendering a number to text here is what makes a numeric comparison a text
one at the far end. SQLite orders every number before every text, so a bar
bound as text is a bar no number clears, and the answer is an empty result
rather than an error.
Read the signature
- This declaration has no value signature because it introduces a type or trait.
