Closed ChrisMichaelPerezSantiago closed 5 years ago
Problem solved
The episodes
property did not show me the data because it was defined as an array
, now, I made the change to episodes:object
and yes, it worked.
tables: [
{
name: 'latestAnimeAdded',
model:{
"title:string": {},
"poster:string": {},
"synopsis:string": {},
"debut:string": {},
"type:string": {},
"rating:string": {},
"episodes:object": {
"eps:string": {
"episode:number": {},
"id:string": {}
},
"nextEpisodeDate:string": {}
},
}
}
],
Hello everyone,
I'm having trouble developing the property structure model episodes.
The episodes property is structured by indexing by the property episode. If episode is 1 then the structure should be:
"1": {}
, if the episode is 2 it should be"2": {}
, and so on with the otherscreateDatabase From the latestAnimeAdded table model, the only data that does not show me is of the episodes property.
upsert