E
E
eegmak2020-12-20 19:49:42
MongoDB
eegmak, 2020-12-20 19:49:42

Is it possible in mongo-db to create a sorted dictionary with the ability to insert values ​​between elements?

There is a task to store the data. I found a service with a free 500 mb limit based on mongo-db.
The data will be like this: {key: value}

100: 39483943
200: 9483948
300: 9843844

Is it possible to access element with key "200" in mongodb using element index 100 and adding one to it?
Is it possible to add an entry between two other entries and are these entries stored in order?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2020-12-20
@dimonchik2013

Well, what can I say here
. You would describe what needs to be done, and not project your experience onto your ideas about

whether these records are stored in order

of course, there are indexes in Monge

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question