Questions tagged as 'nosql'

2
answers

Doubt with mongodb test

I'm new to mongo with a query with select / query. I need to do a query that searches the base yoda and the collection configuracoes to return all documents that have the tipoRecibo key with the value equal to gps . I know I ha...
asked by 26.10.2016 / 00:51
1
answer

Return list from a child in firebase

Good morning! I have a situation in which I want to return a list of all the data whose children are equal to the id, in the image below I have the structures of the nodes of my bank in firebase and I want to return, for example, the number of a...
asked by 25.09.2017 / 15:35
1
answer

How to insert equal objects or list of objects in MongoDB?

Example, I have the following JSON: { Casa:'b32', integrantes:{ pessoa: 'joao', pessoa: 'Maria', pessoa: 'Daniel' } } When inserting into the database it stays this way. Apparently it is overwrit...
asked by 29.06.2018 / 20:18
1
answer

What diagram best describes a NoSQL database?

When using SQL database, there are different ways to show the system flow. In the bank you can use an ER to show its attributes. And for its operation uses a Diagram of Classes UML. What is the best way to represent a NoSQL database to the en...
asked by 07.07.2018 / 19:59
1
answer

Sort with ElasticSearch accent

I'm trying to do a sort with Elastic Search , but some fields have accentuation, such as city names, I tried to use fields with index not_analyzed and with ptbr of the second form: { "settings": { "analysis":...
asked by 20.07.2016 / 23:03
1
answer

How to return an object from a database in SQL (MongoDb)?

I currently have some objects in a MongoDB database. The structure is as follows. { "_id" : ObjectId("55cb9c666c522cafdb053a68"), "geometry" : { "type" : "Polygon", "coordinates" : [ [ [...
asked by 28.06.2018 / 20:05
1
answer

Return the maximum sum value of the collection with MongoDB

I have collection in MongoDB and it has several records in it and I need to add a column by UF and then return the largest value of that sum. For example UF: 'SP', Valor: 10 ---- UF: 'SP', Valor: 23.5 ---- UF: 'RJ', Valor: 40 -...
asked by 10.12.2016 / 23:46
0
answers

Count the number of records in the firebase

Good morning Developers!    I'm having a hard time on a project that I can not move forward, here's the problem / scenario:    We have a screen that brings information, a message, and on the screen there is the button to favor that message, this...
asked by 26.05.2018 / 13:55
0
answers

How to populate an array of an object based on its indexes using RethinkDB

Hello, I'm starting to "understand" how RethinkDB works and I'm seeing that it's certainly the NoSQL database that comes closest to the logic of a SQL database without losing the optimization and benefits of NoSQL. My problem is this, imagine tha...
asked by 10.11.2017 / 13:06
0
answers

Couchbase + N1QL

In a bank of approximately 300,000 records, the query below: SELECT count(usuario) FROM analytics where datahora.entrada >= '2016-11-18T00:00:00.000Z' and datahora.entrada <= '2016-11-18T99:99:99.999Z' limit 5000 I...
asked by 18.11.2016 / 17:42