lee
lee•9mo ago

convex functions so powerful we have to

convex functions so powerful we have to remind people that javascript functions still exist 😄
5 Replies
Hmza
Hmza•9mo ago
but thinking more about this. if i'm using javascript functions will these still benefit from convex retry system or maybe conflict system? cache etc please don't tell me its obvious again i'm just eating convex's architecture too much 😂
lee
leeOP•9mo ago
running a javascript function is just like running the code inline within your query/mutation. so the inner function won't get cached or retried, but the full query/mutation can still be cached or retried.
Matt Luo
Matt Luo•9mo ago
Does an inner ctx.db.query() get cached?
lee
leeOP•9mo ago
yep
v
v•9mo ago
Cache money

Did you find this page helpful?