You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to list five projects I've worked on recently, and I'm trying to use the limit() function when writing dataviewjs, but it's reporting an error. I'd like to ask how to fix it and the correct format to write it.🙏
Evaluation Error: TypeError: dv.pages(...).limit is not a function
at eval (eval at (eval at (app://obsidian.md/app.js:1:1287967)), :2:31)
at DataviewInlineApi.eval (eval at (app://obsidian.md/app.js:1:1287967), :12386:16)
at evalInContext (eval at (app://obsidian.md/app.js:1:1287967), :12387:7)
at DataviewJSRenderer.eval (eval at (app://obsidian.md/app.js:1:1287967), :12877:17)
at Generator.next ()
at eval (eval at (app://obsidian.md/app.js:1:1287967), :26:71)
at new Promise ()
at __awaiter (eval at (app://obsidian.md/app.js:1:1287967), :22:12)
at DataviewJSRenderer.render (eval at (app://obsidian.md/app.js:1:1287967), :12869:16)
at DataviewJSRenderer.eval (eval at (app://obsidian.md/app.js:1:1287967), :12864:28)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to list five projects I've worked on recently, and I'm trying to use the limit() function when writing dataviewjs, but it's reporting an error. I'd like to ask how to fix it and the correct format to write it.🙏
Code:
Report:
Evaluation Error: TypeError: dv.pages(...).limit is not a function
at eval (eval at (eval at (app://obsidian.md/app.js:1:1287967)), :2:31)
at DataviewInlineApi.eval (eval at (app://obsidian.md/app.js:1:1287967), :12386:16)
at evalInContext (eval at (app://obsidian.md/app.js:1:1287967), :12387:7)
at DataviewJSRenderer.eval (eval at (app://obsidian.md/app.js:1:1287967), :12877:17)
at Generator.next ()
at eval (eval at (app://obsidian.md/app.js:1:1287967), :26:71)
at new Promise ()
at __awaiter (eval at (app://obsidian.md/app.js:1:1287967), :22:12)
at DataviewJSRenderer.render (eval at (app://obsidian.md/app.js:1:1287967), :12869:16)
at DataviewJSRenderer.eval (eval at (app://obsidian.md/app.js:1:1287967), :12864:28)
Beta Was this translation helpful? Give feedback.
All reactions