Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [nosql]

A NoSQL (often interpreted as Not only SQL) database provides a mechanism for storage and retrieval of data that is modeled in means other than the tabular relations used in relational databases.

Filter by
Sorted by
Tagged with
1 vote
1 answer
28 views

Change query strings with a Bash script

The following script changes start and end dates of several queries saved as files in the folder /app/queries. It is used by executing the script and passing two ...
user avatar
7 votes
2 answers
333 views

A Hit Counter For AWS Python Lambda powered with DynamoDB

I'm learning how to use DynamoDB and various AWS services, so I decided to write a simple hit counter application for my education of how to use DynamoDB. This application deduplicates hits from the ...
user avatar
  • 875
3 votes
1 answer
270 views

AWS Lambda function to update newly added DynamoDB records

Approach All data is submitted into my DynamoDB from another Lambda > API Integration function whereas the lastUpdated row gets inserted as ...
user avatar
  • 45
0 votes
2 answers
148 views

NoSQL data model design for players in a game

I am modelling a game which can be single (player1 vs player2) or double (pair 1 vs pair 2, where each pair contains 2 players) and each game has a score. The game is group and date based e.g. Group A ...
user avatar
0 votes
2 answers
8k views

JS code that search through every property in a nested object

I wrote code to search by keyword, and it will check all of the values from the object property, including an array in the object. But apparently the code is not optimized as it takes some time to ...
user avatar
  • 103
2 votes
1 answer
441 views

Aggregate query for drawing temporal statistic

I used to write simple Mongo queries, but this time I had to create an aggregate query. The purpose is to draw temporal statistic on the main page of my web app. I'm not confident about his ...
user avatar
  • 287
3 votes
0 answers
196 views

Simple picture app for storing and viewing

Update: git repo: https://github.com/muhsinali/picture-example-minified This is my first project that I've written using Scala and the Play framework. It's a simple application that allows the user ...
user avatar
3 votes
1 answer
49 views

'join' MongodDB collections with a for loop

This is a very simplified version of my query. Is it acceptable to join the two collections for the client with the use of for loops? There could be up to 2,000 books, which also means there could be ...
user avatar
  • 193
1 vote
0 answers
39 views

Cameleonica: key value store

This code is part of project Cameleonica. It is a key value store, a simple nosql file based database. This code requires an atomic ordered filesystem which means ...
user avatar
4 votes
1 answer
591 views

Versioning documents in Couchbase

I've just converted a class for versioning Couchbase documents from Java to C#, but I'm not 100% familiar with the Couchbase API so would like some feedback. The original class can be found here. ...
user avatar
  • 141
1 vote
2 answers
1k views

Password reset process security

Here is what the reset link looks like that goes in an email to the user: www.webdev702.com/forgotPassword.php?empl_id=121&email=nicholasdarley@gmail.com&request_time=1432183745918&...
user avatar
2 votes
0 answers
166 views

Optimizing Cassandra Schema to avoid deleting data

I come from MySQL type of mind frame but have worked with MongoDB and ElasticSearch type of NoSQL. I'm using a small use case of Cassandra to able to scale a playlist format for users. In C* Summit ...
user avatar
  • 1,190
2 votes
0 answers
734 views

NoSQL-based sequence generator

For my web application I have to generate a sequence of following format: <year><sometext><month><sequence> For example: ...
user avatar