DatabaseQuery::bindValue()

Bind a parameter value

Usage

// basic usage
$databaseQuery->bindValue(string $key, mixed $value);

// usage with all arguments
$databaseQuery->bindValue(string $key, mixed $value, $type = null);

Arguments

NameType(s)Description
$keystring

Parameter name

$valuemixed

Parameter value

$type (optional)

Return value

$this

Object instance it was called from (method supports fluent interface).


DatabaseQuery methods and properties

API reference based on ProcessWire core version 3.0.252