Skip to content

Fix undocumented db.count() usage in low-code documentation#24925

Closed
Copilot wants to merge 2 commits into
salihozkara/low-code-docs-1from
copilot/sub-pr-24889
Closed

Fix undocumented db.count() usage in low-code documentation#24925
Copilot wants to merge 2 commits into
salihozkara/low-code-docs-1from
copilot/sub-pr-24889

Conversation

Copilot AI commented Feb 23, 2026

Copy link
Copy Markdown
Contributor

Low-code docs used db.count() which is not part of the Scripting API. The documented methods are db.getCount(entityName) (direct CRUD API) and db.query(...).count() (query builder).

Changes

  • docs/en/low-code/custom-endpoints.md — replaced 3 db.count() calls with db.getCount()
  • docs/en/low-code/model-json.md — replaced 1 db.count() call with db.getCount()

Before:

"javascript": "var count = await db.count('LowCodeDemo.Products.Product');\nreturn ok({ totalProducts: count });"

After:

"javascript": "var count = await db.getCount('LowCodeDemo.Products.Product');\nreturn ok({ totalProducts: count });"

Checklist

  • I fully tested it as developer / designer and created unit / integration tests
  • I documented it (or no need to document or I will create a separate documentation issue)

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: berkansasmaz <31216880+berkansasmaz@users.noreply.github.com>
Copilot AI changed the title [WIP] Add comprehensive documentation for Low-Code System Fix undocumented db.count() usage in low-code documentation Feb 23, 2026
Copilot AI requested a review from berkansasmaz February 23, 2026 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants