Questions tagged [tingodb]

TingoDB is embedded JavaScript NoSql database for Node.js and node-webkit.

About

TingoDB is embedded JavaScript NoSQL database for Node.js and node-webkit. Its API and features designed to be upward compatible with MongoDB and its driver for Node.js.

It is not just kind of MongoDB API only because it uses same query syntax. It is precise copy that allows to build applications that can transparently support both MongoDB and lightweight embedded data engine.

Features

Current set of supported features includes search, indexes, atomic updates, grouping, map-reduce. All the above in pure JavaScript without binary dependencies with performance that will be comparable to native MongoDB, assuming of course, using it on reasonable sized data-sets.

Links

13 questions
3
votes
1 answer

Is CRUD API of NeDB compatibale with MongoDB?

I am looking for MongoDB API compatible DB engine that does not require a full blown mongod process to run (kind of SQLite for Node). From multiple candidates that persistently store data on a local disk with similar API ended up with two: NeDB…
Yauhen Yakimovich
  • 13,635
  • 8
  • 60
  • 67
2
votes
2 answers

Find object id in object ids array returns empty array using Mongoose

I have two Mongoose schemas: var EmployeeSchema = new Schema({ name: String, servicesProvided: [{ type: mongoose.Schema.Types.ObjectId, ref: 'Service' }] }); var ServiceSchema = new Schema({ name: String }); I'm…
gonver
  • 349
  • 1
  • 12
2
votes
1 answer

Populate TingoDB with data for acceptance test

I have NodeJS app that uses MongoDB as database. I'm using native mongo driver (not mongoess). The application allow users to work on projects and share them and the logic that decide which projects a user is allowed to see is built as mongo…
Ido Ran
  • 10,584
  • 17
  • 80
  • 143
1
vote
1 answer

Problems running KeystoneJS without MongoDB

I would like to try running KeystoneJS without MongoDB. There's a short blog post explaining how to do it at http://ifrederik.com/blog/2014/11/cms-without-db-running-keystonejs-without-mongodb/ Basically, it explains how to replace MondgoDB with…
Marko
  • 30,263
  • 18
  • 74
  • 108
1
vote
0 answers

Using TingoDB within a Meteor application in development and production mode

I am trying to use TingoDB instead of MongoDB in a Meteor application I wrote for easier deployment. I have been looking at the answer given here Meteor without mongo However, this isn't proving to be so easy. For one thing, I would very much…
sjmcdowall
  • 1,471
  • 4
  • 15
  • 27
1
vote
0 answers

how to use TingoDB in stead of MongoDB with Deployd?

We want to use deployd on our homemade device running OpenWRT. As MongoDB would required too much memory, we want to use TingoDB in stead of MongoDB. How to configure Deployd to do so? Thanks a lot!
vpx
  • 380
  • 1
  • 5
  • 14
1
vote
1 answer

Mongoose findById returning null for first object when the object exists

Mongoose is returning null for the first object, _ID 0, in the DB even though it exists. I can retrieve the first post just fine using similar code, but I can not retrieve the first tag. I can retrieve all of my data with the exception of the first…
Mike
  • 93
  • 4
0
votes
0 answers

Lazy Loading with react ag data grid

I am working with React Ag Grid. I want to implement lazy loading with the grid. But React Ag Grid does not provide lazy loading. It provides infinite scrolling but then it will not support filtering and sorting. I am using tingodb (Nosql) db, How…
Mangesh Tak
  • 346
  • 1
  • 6
  • 22
0
votes
0 answers

How to optimize find query in Mongo DB

I am fetching all data from collection and that operation is taking time. And there are chances that data may increase in near future. So I need to optimize the query. But I have no filter parameters, I want all data as it…
Mangesh Tak
  • 346
  • 1
  • 6
  • 22
0
votes
1 answer

Collection.find is not working properly

I am using TingoDB and it uses all Mongodb syntax. I have one collection where I am saving around 70K documents but when I run find query without any filter it returns only around 42K documents. I do not know what I am doing wrong. Please find below…
Mangesh Tak
  • 346
  • 1
  • 6
  • 22
0
votes
1 answer

Trying out TingoDB: Issue passing global var to insert

I am testing and benchmarking a couple of embedded dbs using node.js. With TingoDB, anybody knows why this works var test = { hello:'world' }; for (var j = 0; j < size; j++) { collection.insert(test, { w: 1 }, function () {}) } but this…
Willem van Gerven
  • 1,407
  • 1
  • 17
  • 24
0
votes
1 answer

Two client applications on same database.

I am working with BeagleBone. I need to have two services. One is simple web application to make configuration (call i an A) , and other is application that use that configuration (call it a B). So the problem is when I connect to TingoDB over…
0
votes
1 answer

Angular controller not display data from JSON

I am using Angular and TingoDB (Mongo) inside Node Webkit for a single page application. However I have a strange problem that I have been unable to resolve. When I use an object literal (option 2) the data displays correctly in the html page.…