You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to keep my embedded document also up to dated is there any way from which i can do it. For example I want to keep my price always in sync, if I change the price on product collection it should reflect here.
`[[script]]
namespace = "DB-Dev.posts"
script = """
module.exports = function(post) {
// Check if post is active
if (!post.active) {
return false; // If not active, return false
}
I want to keep my embedded document also up to dated is there any way from which i can do it. For example I want to keep my price always in sync, if I change the price on product collection it should reflect here.
`[[script]]
namespace = "DB-Dev.posts"
script = """
module.exports = function(post) {
// Check if post is active
if (!post.active) {
return false; // If not active, return false
}
}
"""`
@rwynn
The text was updated successfully, but these errors were encountered: