This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ----------------------------------------------------------------- | |
// Applying aggregation pipeline #1 Customer - HAVE | |
// ----------------------------------------------------------------- | |
db.command({ | |
"aggregate": "app.customer", | |
"pipeline": [{ | |
"$match": { | |
"$and": [{ | |
// -- Ensure the customers we are selecting are active and have a Firebase token so we can send them a push notification | |
"status": "active", |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// -------------------------------------------------- | |
// Example Google Cloud AutoML Prediction | |
// -------------------------------------------------- | |
// @author Michael Kubler | |
// @date 2020-10-07th | |
// This is a cut down gist of what you need to | |
// make a Google Cloud AutoML (Auto Machine Learning) | |
// prediction request, based off an already uploaded |
OlderNewer