Replies: 1 comment 2 replies
-
|
These are stored in data/extensions. You can do: async fn job(req: Email, ctx: SqlContext) {
}The code above only works for Sql backed jobs This is approach is not best, I think I will fix it in 0.6. Let me know if this helps. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How would I go about getting the SqlContext from a Request/Job? It would be useful to be able to access the various db fields like the status (State), eg. Pending/Running/...
Beta Was this translation helpful? Give feedback.
All reactions