Version: v0.6.1 - Beta.  We welcome contributors & feedback.  THanks!

TypeString.fill

fill($value0, $value1, ...)

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);