Posts by Daniel Metta • 58 points
8 posts
-
0
votes1
answer538
viewsQ: React Native - Drawer Navigation Problems Header
I’m new to React Native and I have a problem. I have an APP that uses Drawer to mount the menu. This working ok however I have the following problem. As I have screens that open in different ways, I…
-
1
votes1
answer404
viewsA: Pass Nodejs json to Angularjs
The angler now uses Promises. So use your code like this. var app = angular.module('app',[]); app.controller('GreetingController', ['$scope','$http', function ($scope, $http) { $scope.usuarios = [];…
-
0
votes1
answer895
viewsA: send email with Nodemailer
Eduardo, Test this way on a separate JS and ve resolve. var nodemailer = require('nodemailer'); var conta = nodemailer.createTransport({ host: 'smtp.seudominio.com.br', port: '587', auth: { user:…
-
0
votes1
answer74
viewsA: Select customer cities in the bank and count how many customers there are in each city
Renan, If you have a table with cities and one with customers and in this table you have the city id. It can be done as follows. select c.nomeCidade, count(*) quantidadeClientes from cidades c inner…
-
0
votes1
answer169
viewsQ: Problems in PM2 - Nodejs
I have a problem with PM2 has ever happened to someone. I start some applications and they usually appear in the list when running pm2 list. But after a few days applications disappear from pm2…
-
0
votes1
answer322
viewsQ: Query with Foreach and Subquery Node JS and MSSQL
I have a problem that I have not found solution yet, I have a select in a Precedent, I do a foreach in the result, inside this foreach I do another select in another Precedent using the Ids as code…
-
0
votes3
answers734
viewsA: Mysql query with subquery in Nodejs
I was able to do it this way. exports.consultar = function (req, callback) { req.getConnection(function(err,connection){ connection.query('SELECT * FROM parceiro', function(err, result){ done =…
-
3
votes3
answers734
viewsQ: Mysql query with subquery in Nodejs
I have the following structure in the following tables. partner (idParceiro, name, email, phone) example partnerTag (idPartner, tag) What I need to do, a select in the partner table and do a for in…