Expand description
The conversions between JavaScript values and this crate’s.
Each driver’s own js module talks to its binding; these are the
conversions both need on either side of that call – one point in each
direction, so the two backends cannot drift apart on what a value means.
Functions§
- database_
error - A
DatabaseErrorfor what the binding threw. - from_js
- A JavaScript value from a result row, as a
Value. - to_js
- A bound parameter as the JavaScript value the binding expects.
- to_
js_ array valuesas a JavaScript array, in placeholder order.