Pudu programming language
Menu
API reference

Std.Db.asDriverRows

1 declaration

fn

asDriverRows: &Std.Db.Rows -> Std.Db.Driver.Rows

This is a callable function.

What it does

This result as the driver layer carries one.

The session answers every column as text, because that is what the wire

carries; the driver layer carries what a value is. Converting here rather

than in each driver keeps one description of how a session's result becomes

a driver's, which two copies would eventually disagree about.

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.
  • & borrows a value for this call instead of moving or copying it.

Back to Std.DbSearch related declarations