Skip to main content

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.

3 votes
2 answers
112 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 ...
Moritz Loritz's user avatar
7 votes
2 answers
553 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 ...
HSchmale's user avatar
  • 895
3 votes
1 answer
338 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 ...
Curtis's user avatar
  • 35
0 votes
2 answers
213 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 ...
dragonfly02's user avatar
0 votes
2 answers
10k 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 ...
Jerry's user avatar
  • 103
2 votes
1 answer
442 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 ...
Opsse's user avatar
  • 287
3 votes
0 answers
200 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 ...
Calculus5000's user avatar
3 votes
1 answer
53 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 ...
NoobSter's user avatar
  • 193
4 votes
1 answer
613 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. ...
Webmonger's 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 protected]&request_time=1432183745918&...
Nicholas Darley's 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 ...
azngunit81's user avatar
  • 1,210
2 votes
0 answers
781 views

NoSQL-based sequence generator

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