Posts by wedson santos • 81 points
9 posts
-
0
votes1
answer128
viewsQ: Ionic 3, error while installing app-script 1.3.0
Complementing the previous question, I am in an Ionic 3 environment, give an npm install but it is missing this app-script 1.3.0, msm installing the Ionic 2, npm install again msm error I believe it…
-
0
votes1
answer32
viewsQ: How to assemble an object?
I’d like the key and the value cotação and modalidade of the collection confronto remain in their respective objects whose id is the same in the collection palpites. How can I do that? [{ "_id":…
mongodbasked wedson santos 81 -
2
votes1
answer42
viewsQ: I’m not able to load just one element of an array at a lower level on mongodb
Person I’m trying to pull just one helper, I’m doing the following, db.colecao.find( { functio.nome : joão }, { 'functionary.helper. $' 1 } ); but always comes everyone, I’ve tried several ways, Bs…
mongodbasked wedson santos 81 -
0
votes1
answer157
viewsQ: How do I search different mongodb documents and subdocuments
I wanted to make a find on a screen of login where he checked so much in the field login of the document and login subdocumentation. You can do this? { Login: admin, Senha : 12345, _id :…
mongodbasked wedson santos 81 -
1
votes1
answer43
viewsQ: Register unique embedded documents
I want to add a built-in document, I’m using the $push update, in schema I put the attribute as index: { unique : true }, but not respecting the rule this registering item as the same name Can…
mongodbasked wedson santos 81 -
1
votes0
answers44
viewsQ: Changes have no effect when I change Schema, using mongodb and nodejs
Every time I make a change in my Schema I have to restart my server. I’m using the nodemon, but it doesn’t always update, someone has been through it? module.exports = function(app){ var Schema =…
-
1
votes0
answers60
viewsQ: Optimization with Mongodb
I’m starting with Mongodb and I have a question about optimization. COLLECTION BOLAO: [ campeonato : 'Brasil - Série A', confrontos : [ { id : 10, casa : "Sport", visitante : "Chapecoense", horario…
mongodbasked wedson santos 81 -
2
votes0
answers33
viewsQ: i wanted to make a query that returns me the following data in mongodb
COLECTION GAMES { id : 10, casa : "Sport", visitante : "Chapecoense", horario : "2017-07-20 11:00:00" } GAMBLER COLLECTION { nome : "wedson", apostas : [ { idjogo : 10, opcao : 1, valores : 1 } ] }…
-
1
votes0
answers26
viewsQ: Return registration only of bets more recent than the current time
wanted to return this record only if all the apostas.horario is greater than the present time, how can I do it in mongodb?…
mongodbasked wedson santos 81