Posts by Abner Passos Magalhaes • 101 points
8 posts
-
0
votes2
answers153
viewsQ: LIMIT and OFFSET duplicates data in mysql
I have a table in mysql but when using LIMIT and OFFSET I have an unwanted return, 1 data repeats to each search. Look at the table: then use the following command: SELECT funcionario.nome FROM…
-
0
votes1
answer335
viewsQ: How to use async and await in Nodejs
I am trying to learn how to use async await but, I am missing something and I need help. My method works as expected with Promise see: import express from 'express'; import conn from…
-
0
votes0
answers214
viewsQ: Ionic Cordova run Android Error
My application Ionic works on Chrome but when I send it to android it returns me this error. Someone knows how to solve ? BUILD FAILED in 2s :app:mergeDebugResources FAILED 21 actionable tasks: 1…
-
1
votes1
answer606
viewsQ: Search by id Mongo
Hello guys I’m following the book Getting Mean but I stumbled across a problem I can’t solve. I have a document I show below taking data from Mongo, and in it I have subdocuments in the case Reviews…
-
1
votes2
answers41
viewsQ: Javascript Json
Hello folks I need to assemble an object of this kind: {y: "2017-8", a: 0, b: 0, c: 2, d: 0, …} The lyrics go up to h, but can vary from one user to another, I’m putting together a line chart…
javascriptasked Abner Passos Magalhaes 101 -
2
votes1
answer55
viewsQ: Access compound word object, $.each, Javascript?
I have a problem accessing an object that has white space in its name. I used json Encode in php and get the answer so from ajax: {Seguranca: 0, Saude Publica: 4, Transportes: 0, Outros: 0,…
javascriptasked Abner Passos Magalhaes 101 -
2
votes2
answers194
viewsQ: Hello Word javascript
I am following the firefox tutorial but I am not able to run a hello word. Follow the code. HTML code <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8">…
-
2
votes2
answers220
viewsQ: Jquery problem in handling ajax data coming as array
My array returns from php like this (post): Array ( [0] => Array ( [O email digitado é invalido! Por favor insira um email correto.] => 1 ) [1] => Array ( [O telefone digitado está num…