Error Monitor
Kreft catches unhandled server and component exceptions with its own geometric inspector: interactive stack frames, terminal code preview, and fix suggestions.
Simulate Exception:
Post.qquery is not a function
in backend/app/Http/Controllers/PostController.js:13 · {activeFrame.fn || '
Fix Suggestion
Unknown Model Method
Did you mean Post.query() instead of Post.qquery()?
10
class PostController {
11
async index(req) {
12
// Typo in static query builder call
13
const posts = await Post.qquery().orderByDesc("id").get()
14
return { posts }
15
}
16
}