Show:

Db_Expression Class

This class lets you use Db expressions

Note: if you re-use the same Db_Expression object across one or more queries, please be aware that this may cause problems if we ever decide to bind parameters by reference instead of value, as the parameter names will remain the same each time the Db_Expression object is used.

Constructor

Db_Expression

(
  • $chain1
)

Parameters:

  • $chain1 Db_Expression | String

    Pass as many arguments as you want, and they will be concatenated together with spaces in between them. Db_Expression objects will be enclosed in parentheses before being concatenated.

Item Index

Properties

$chain

Db_Query

The query that was run to produce this result

$expression

String

The expression as a string

$parameters

Array protected

The parameters to bind with the expression