Category "nosql"

Query with arbitrary number of filter conditions that come from querying the same collection

const score_schema = mongoose.Schema( { tester_id: { type: mongoose.Schema.Types.ObjectId, ref: "user", required: true, }, test_

Aerospike filter expression on boolean fields not working

I've written the following Aerospike filter in Java. Both Field1 and Field2 are booleans. For some reason, the "filterByField.ValidBoth" condition does not yiel

Firebase Firestore - Get recent trending posts

How can I query for "recent trending posts" using Firestore? I am considering it as "recent" if it is was uploaded in the last 4 hours. I am considering it as

(NoSQL)Which database type would be suitable for these needs?

You are creating a web-based interface to allow for the ad-hoc querying and reporting on a large (and growing) collection of various types of customer invoice,

Someone could help me with this exercise for beginners in neo4j,why it returns me anything?

The schematic is: The question is:Who are the friends of the friends of Claudia My code: MATCH (a:Student)-[:friend]->()-[:friend]->(b:Student) MATCH (a

How to have an active flag in NoSQL without transaction

This question is only for understanding purpose. This might be a noob question. Assume that I have a tabular or document NoSQL database which do not support tra

How to have a sequence status in NoSQL without transaction

This question is only for understanding purpose. This might be a noob question. Assume that I have a tabular or document NoSQL database which do not support tra

How to have a sequence status in NoSQL without transaction

This question is only for understanding purpose. This might be a noob question. Assume that I have a tabular or document NoSQL database which do not support tra

How to search for specific fields in an array of objects containing objects in a document and update them in firestore (firebase) (JS)

// Update the other user that current user has asked for revision export async function updateOtherUserForContractRevision(contractID : string, comments : any)

What are the rules for collection names in SOLR?

What is the naming ruleset for collections that should be followed, or in other words what are the inacceptable characters for a collection name? (for example,

Connecting a MongoDB serverless database to Mongo Charts

I want to connect a serverless MongoDB instance to MongoDB charts. I don't see any of my serverless instances when I try to add data sources on my Mongo Chart d

Simple Search capabilities with NoSql (DynamoDB)

I am new to NoSQL. I am trying to make simple app which will have products that you search through. With SQL I would simply have a products table and be able to

How would YouTube store data of who liked which videos?

If Youtube uses MongoDB as their database, then how would they store the who liked which videos information? Option 1: Store it in the Videos collection with a

Cannot run Cypher query

I have to do that:Find the students who are over 22 years old and are studying Databases. Expected result: MATCH (p:Student)-[:Study]->(s:Subject) WHERE p.ag

Azure cosmos Db Criteria query with subdocuments - java spring boot

I'm new to azure cosmos db. i'm trying to read items from container in my spring boot application. i'm using cosmos template with criteria. lets say i have a do

Is there a way to conditionally upsert in Elastic search in a single atomic transaction?

Upsert should only occur if the value of a particular field in the document that I'm attempting to upsert (the index) is greater than the one that is currently

MongoDB - Group by inner element

I am explaining with a simple example see my MongoDB collection looks like this: [ { pid: erwer, qty: 3, LevelDetails: {

Choosing between PartiQL vs U-SQL

I was going through the article here : https://aws.amazon.com/blogs/opensource/announcing-partiql-one-query-language-for-all-your-data/ It looks like "PartiQL"

Mongoose - find object and delete objeto inside array

I have this document : [ { "_id": "626c5fd2aa0fc0e4eef45c94", "productos": [ { "_id": "626d50b621180e291a330333"

Efficiency of Querying 10 Billion Rows (with High Cardinality) in ScyllaDB

Suppose I have a table with ten billion rows spread across 100 machines. The table has the following structure: PK1 PK2 PK3 V1 V2 Where PK represents a partiti