Version: v0.8.1 - Beta.  We welcome contributors & feedback.

TypeString.fill

fill($value0, $value1, ...) -> self

Description

See String.fill().

Placeholder values are attached to the TypeString, and will be properly escaped when the TypeString is stringified by the module that consumes it.

$query = sql'select * from articles where title = {}'
$query.fill('My Review of "The Jungle Book"')

// The Db module will escape quotes, etc.
$user = Db.selectRow($query)