From adf464d6c6010290ab460d9f1c496f11219dd7b5 Mon Sep 17 00:00:00 2001 From: Wade Falk <71107065+Wolfgang-Falk@users.noreply.github.com> Date: Thu, 2 Jun 2022 20:25:45 -0400 Subject: [PATCH] Create querylazy.json Per Issue #1306, I decided to write up a page for the queryLazy() function. I do not see it on the official Lucee documentation as of yet. WIP: Looking to add examples tomorrow. --- data/en/querylazy.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 data/en/querylazy.json diff --git a/data/en/querylazy.json b/data/en/querylazy.json new file mode 100644 index 000000000..3e15aa5f5 --- /dev/null +++ b/data/en/querylazy.json @@ -0,0 +1,18 @@ +{ + "name":"queryLazy", + "type":"function", + "syntax":"queryLazy(sql [listener, params, options])", + "returns":"query", + "description":"Pass the records without creating a query as result.", + "related":["cfquery","cfqueryparam"], + "engines":{ + "lucee":{"minimum_version":"5", "docs":"https://luceeserver.atlassian.net/browse/LDEV-2835","notes":""} + }, + "links":[], + "params":[ + {"name":"sql","description":"SQL string to execute.","values":[],"default":"","type":"string","required":true}, + {"name":"listener","description":""}, + {"name":"params","description":"Array or Struct of parameter values. When passing an array use ? as place holders. When passing a struct use :keyName where keyName is the name of the key in the structure corresponding to the parameter. The struct or array can be a struct with keys such as the following.","values":[],"default":"","type":"any","required":false}, + {"name":"options","description":"Struct containing query options, all cfquery tag attributes are supported except the name attribute.","values":[],"default":"","type":"struct","required":false} + ] +}