lee
lee•7mo 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•7mo 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•7mo 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•7mo ago
Does an inner ctx.db.query() get cached?
lee
leeOP•7mo ago
yep
v
v•7mo ago
Cache money

Did you find this page helpful?