Function Database.prepare

Prepares (compiles) a single SQL statement and returns it, so that it can be bound to values before execution.

Statement prepare (
  string sql
);

The statement becomes invalid if the Database goes out of scope and is destroyed.