Skip to main content
1 vote
2 answers
106 views

I am sending a json array with filter parameters from ExtJs in the sql function parameter. filters look like this: [{"field":"product_type_id","data":{"type":&...
Pawel's user avatar
  • 13
0 votes
0 answers
703 views

I am new to node.js, and developing an app with MSSQL i want faster ORM or framework which will be faster to query with sql db. I was checking TypeORM, it has beautify code structure and many more can ...
Vipin Saini's user avatar
0 votes
1 answer
135 views

I want to get sorted items using find method in node orm. I know there is and 'order' param in find(), It will give me sorted items from 'a-z'. What will I do if I want to get items from 'z-a' order ...
Nithin.P's user avatar
  • 131
0 votes
1 answer
92 views

I would like to know if we can fetch a table model from MySql from Database, without defining all the properties. I'm using Node.js ORM2 const orm = require('orm'); db.define('users', { // donot ...
sudheeshcm's user avatar
  • 3,448
0 votes
1 answer
71 views

How can I return a count of unique values in a table? This returns an array of unique IDs... req.models.pages.aggregate().distinct("page").get(function (err, page) {... // returns [ '6', '92', '90', '...
Layne's user avatar
  • 672
0 votes
1 answer
244 views

Node-ORM2 documentation states this: 1.2.1 Operators To use more than a straightforward = or in operator you use a slightly different syntax like so: model.find({ field : { "operator" : "value" ...
Maxime Asselin's user avatar
1 vote
0 answers
33 views

I'm using node-orm2 with Postgres and Express to create tables on app start. I've beens sifting through the GitHub issues, but have been unable to find out why non of the other columns are being ...
dmr07's user avatar
  • 1,508
0 votes
1 answer
4k views

I'm on the look out for a node ORM that works well with both Oracle and PostgreSQL. I see that Waterline and Sequelize do not have built in support for Oracle. Sequelize-Oracle is available though. ...
Padmini Ramasubramaniam's user avatar
0 votes
1 answer
135 views

I want to search through a table for a particular string. I can find the row when the tag matches the contents exactly. But I want to find all occurrences of "red" even when the tags column has ...
Layne's user avatar
  • 672
10 votes
1 answer
234 views

I would like to try out node orm2, with sqlite. I tried the example code, and changed mysql to sqlite. It looks like this: var orm = require("orm"); orm.connect('sqlite://D:/orm_test/database.db', ...
Iter Ator's user avatar
  • 9,039
1 vote
1 answer
88 views

I'm using node-orm2 to persist a model to a mysql db column. It works great, except I want the written json pretty printed, so I can easily read it when I view the DB. Is this possible?
Gili Nachum's user avatar
  • 5,638
0 votes
1 answer
46 views

I'm using Firebase as a persistence layer and also wanted to use node-orm2 for data modeling. I'm trying to find a documentation for creating custom driver but it seems like it has not been documented ...
Thịnh Phạm's user avatar
0 votes
1 answer
193 views

Problem: I am working on an Android app which interacts with nodejs REST server using node orm for mysql backend. On my server, I have a functionality of authenticating users based on email ...
Naresh's user avatar
  • 1
0 votes
1 answer
205 views

I need to populate array with values from DB and only then return it, so how can i make this Synchronous var convs = Array; User.find({token: token}).first(function(err, user) { ...
Src's user avatar
  • 5,542
0 votes
1 answer
375 views

I want to list out all of user ConversationData (ONE User HAS MANY CovnresationData), but i got 'undefined' when i followed tutorial on official site. Help, guys! var User = db.define("user", { ...
Src's user avatar
  • 5,542

15 30 50 per page
1
2 3 4 5