Query Parameters and Bindings
Custom Parameter Types
query.from( "users" )
.where( "id", "=", { value = 18, cfsqltype = "VARCHAR" } );SELECT *
FROM `users`
WHERE `id` = ?query.table( "users" )
.insert( {
"id" = { value 1, cfsqltype = "VARCHAR" },
"age" = 18,
"updatedDate" = { value = now(), cfsqltype = "DATE" }
} );INSERT INTO `users`
(`id`, `age`, `updatedDate`)
VALUES
(?, ?, ?)Numeric SQL Types
Bindings
getBindings
getRawBindings
addBindings
Name
Type
Required
Default
Description
addBindingsFromBuilder
Name
Type
Required
Default
Description
Was this helpful?