Posts by Gabriel Sereno • 159 points
3 posts
-
3
votes2
answers245
viewsQ: Doubts in the modeling of the Database
Guys, I have the Product, Ingredient and Sale table. The product contains several ingredients, e.g.: Suppose that the product is a mixture, it contains 1 bread and 2 Ingredient cheeses, this…
-
0
votes0
answers29
viewsQ: The PUT request is not sending the whole object
That’s the put I’m giving, (the lower will have the JSON that’s coming from the body): put(endpoint: string, body: any) { return new Promise((resolve, reject) => { return this.http.put(this.url +…
-
1
votes0
answers73
viewsQ: I cannot do Array (in JSON) in Typescript
Below is the Array I need: [ { "id":1, "nome":"LESPAUL", "validade":1525568400000, "dataGerada":1525914000000, "status":true, "itens":[ { "cliente":{ "id":1, "login":"gabriel", "senha":"123",…