Introducing the all-new TIBCO Community site!

For current users, please click "Sign In" to reset your password and access the enhanced features. If you're a first-time visitor, we extend a warm welcome—click "Sign Up" to become a part of the TIBCO Community!

If you're seeking alternative community sites, explore ibi, Jaspersoft, and Spotfire.

Jump to content

TDV- Insert New Array to USER from MongoDB


Recommended Posts

I would like to add via TDV to MongoDB a new array for the existing Restarant.

For example : must be added new "grades" "grade" : "C" to Collector Restarants :

**** ADD New grade ***********************

 

{"score": 10,

"date": {"$date": "1358985600000"},

"grade": "C"

}***************************************************

Restarants

{

"address": {

"building": "1007", "coord": [-73.856077,40.848447 ],

"street": "Morris Park Ave",

"zipcode": "10462"

},

"borough": "Bronx",

"cuisine": "Bakery",

"grades":

[

{"grade": "A",

"score": 2,

"date": {"$date": "1393804800000"}

},

{"date": {"$date": "1378857600000"},

"grade": "B",

"score": 6

},

 

],

"name": "Morris Park Bake Shop",

"restaurant_id": "30075445"

}

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...