Questions tagged as 'nosql'

0
answers

python relationship in neo4j

I have the following code where I am migrating a relational database to neo4j. I made a node for each latitude and longitude sensor and a distinct node for every rainfall recorded in my database. db = GraphDatabase("http://localhost:7474",...
asked by 29.03.2016 / 20:36
0
answers

What is the best way or method of studying banks in SQL? [closed]

I need to develop a script that synchronizes a cassandra apache database with another elastic search. However, I do not know the operating mechanism of the two, which are banks in SQL. What is the fastest way to get up to speed and learn about b...
asked by 19.02.2015 / 05:10
1
answer

DB NoSql, when to use?

Working in a company that data flow is not so great, however the amount of information that is already recorded in the bank are considerably large .... Yesterday at college we discussed about the NoSql bank, about big companies like Fa...
asked by 04.09.2014 / 17:05
1
answer

Error displaying information in the Android + FireBase listView

I have two problems with this program ... the first is that when registering it does not enter the first loop of msm being td right ... it jumps and displays the message "no data", the second problem is that dps of clicking the register button i...
asked by 25.10.2016 / 02:46
1
answer

JSON for POJO returning Null

I am making a request from the site API swapi and whenever I do the conversion from JSON to POJO, I get the NULL return RestTemplate restTemplate = new RestTemplate(); String fooResourceUrl = "https://swapi.co/api/planets/?format=json"; Plan...
asked by 25.12.2018 / 03:04
2
answers

Convert SQL query to MongoDB

I have little (or no) knowledge in non-relational banks. I need to convert the query below (SQLite) into an equivalent query to be run in MongoDB. SELECT COUNT(*) FROM match_table WHERE (home_team_api_id=9991 AND home_team_goal > away_team_...
asked by 12.06.2018 / 19:12
1
answer

Nested documents

Personal I have a question that I believe is basic to anyone who is starting with nosql and comes from classic relational structures. Well, let's look at a simple example for relational structures: I have the table person with id and pers...
asked by 07.08.2017 / 14:22
1
answer

$ lookup in db.createView ()

I have a database with two collections : companies and people . And I want to create a view named "peopleSectors" from collection people . db.createView ( "peopleSectors", "people", [ { $lookup: { from: "...
asked by 23.12.2016 / 18:59
1
answer

MongoDB return last value using filter and grouping by variable

I have the following event being inserted into my MongoDB database { _id:"5c0539158863a16a282917ad", owner:"clientX", source:"Deposito01", metric:"temperature", datetime:"2018-12-03T12:09:25.000Z", message:{ temperature...
asked by 03.12.2018 / 19:16
1
answer

nodejs + mongoose how to make one query need another?

I have two tables they have a link id being table A (Initial) tableB (dependencies) but there may be dependencies dependencies. I'd like it to just return in the dependency sequence. function Deps(dt) { return new Promise((resolve,reject)...
asked by 11.11.2018 / 07:23