Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Can I kick off an `action` from within a query? - Wasp
W
Wasp
•
13mo ago
•
5 replies
cooluke.
Can I kick off an `action` from within a query?
If one of my queries finds that there are no results in the DB its search
, I want to asynchronously kick off an
"action
" that I have to populate the DB
. Am I allowed
(in WASP
) to send an action from within a query
?
Wasp
Join
Rails-like framework for React, Node.js and Prisma. Build your app in a day and deploy it with a single CLI command.
4,650
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
when i import a query from an api endpoint, it throws an error which seems unrelated
W
Wasp / 🙋questions
2y ago
is it good practice to call an action from an api?
W
Wasp / 🙋questions
17mo ago
When i load a page it executes an action twice
W
Wasp / 🙋questions
2y ago
should an external api call to get photos be a query or an action or custom api
W
Wasp / 🙋questions
2y ago