Pudu programming language
Menu
API reference

Std.Db.Query.limit

1 declaration

fn

limit: &Std.Db.Query.Statement -> Int -> Std.Db.Query.Statement

This is a callable function.

What it does

At most this many rows.

A number rather than a parameter, because it is written by the program and

a database plans better when it knows it. It is a whole number by its type,

so nothing else can arrive here.

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.Db.QuerySearch related declarations