foundeo / cfdocs

Repository for the cfdocs.org site.
https://cfdocs.org/
Other
180 stars 341 forks source link

Add nullvalue example #1637

Closed tomchiverton closed 5 months ago

pfreitag commented 5 months ago

@tomchiverton - Have you tested this one, I don't think that will work

tomchiverton commented 5 months ago

IDK where the # went, it should be

"code": "queryExecute(\"\n    update foo set\n    staff_group_id = #isDefined('form.staff_group')?form.staff_group:nullValue()#\n    where bar='baz'\n\")",