Im using polymer and firebase and I was wondering how to create an array of objects inside an object.
I want nested data like in the object the groups single object whereby we have members and the names inside it
this.$.query.ref.push({
name: this.$.crewName.value,
description: this.$.crewDescription.value,
createddate: new Date().toString(),
creator: this.$.createcrewlogin.user.uid,
slug: sluggedname
});
With a simple push method like this .How do I achieve that