Skip to content

Commit

Permalink
Merge pull request #1682 from cybersonic/1306_querylazy
Browse files Browse the repository at this point in the history
#1665 updating from and updating the table
  • Loading branch information
pfreitag authored Oct 30, 2024
2 parents 7220ebc + 810d7de commit 68b2267
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/en/querylazy.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@
"engines": {
"lucee": {
"notes": "",
"minimum_version": "",
"minimum_version": "5.3.6",
"docs": "https://docs.lucee.org/reference/functions/querylazy.html"
}
},
"examples": [
{
"title": "QueryLazy Example",
"description": "This example demonstrates how to use the querylazy function to execute a query without loading the data entirely to memory.",
"code": "records = 0\n queryLazy(\n sql=\"SELECT * FROM mixeaSongs;\",\n listener=function(row){\n // Do something with a query row\n records++;\n },\n options={\n datasource:\"MyDatasource\"\n }\n );\n echo(\"Records: #records#\");",
"code": "records = 0\n queryLazy(\n sql=\"SELECT * FROM users;\",\n listener=function(row){\n // Do something with a query row\n records++;\n },\n options={\n datasource:\"MyDatasource\"\n }\n );\n echo(\"Records: #records#\");",
"result": "Recrods: 10"
}
]
Expand Down

0 comments on commit 68b2267

Please sign in to comment.