Pudu programming language
Menu

Std.Db.Protocol.query

1 declaration

fn

query: Str -> Bytes

This is a callable function.

What it does

A simple query, which asks the server to plan and run text in one step.

This cannot carry parameters, and that is why `bind` exists: text with a

value pasted into it is a query whose shape depends on the value, which is

how a value becomes an instruction.

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.

Back to Std.Db.ProtocolSearch related declarations