I am trying to update an existing postgres query in the Nodejs code base. Below is the existing query to select based on name Below is the Postgre ...
I am trying to update an existing postgres query in the Nodejs code base. Below is the existing query to select based on name Below is the Postgre ...
I want to do a union with two tables, but I need to know where the results are coming from. Here is my join. so my goal is return a single array wi ...
I have setup a postgreSQL access through a node server using express and massive, but I cannot find a way to build new tables with dynamic table names ...
When making an async/await call to database from an express router to postgres db via massive.js instance, the correct response from db is received, b ...
I wish to have connected more than 1 users at the same time, as follows: user_1 and user_2 obviously have different privileges. So, my question is ...
I've narrowed it down to two possibilities - DynamicSQL and using a case statement. However, I've failed with both of these. I simply don't understa ...
Why do I get this error, massive.connectSync is not a function when I run server.js. It works on my mac, but not my windows. Please help solve this en ...
I'm trying to achieve a very simple thing: Running this on the postgres database works perfectly. With massive.js it doesn't: It doesn't rollbac ...
Let's say I have a cart of grocery items and each item has a unique ID. When someone clicks "purchase", an array is sent with an object for each item ...
I am trying to connect to postgres database using massive.js. I have created a database and a table using command line in postgress now when I am tryi ...
I'm just starting with TypeScript and I ran across a situation in which the type definitions for a library I'm using is wrong. In my case, the library ...
I am trying to connect to my database, but I am running into some errors. I am pretty new to all this, so sorry if I'm not being clear. I am able to u ...
I'm trying to use Node.js to import a JSON file to PostgresSQL. I'm using massive.js to do this. Below is my JS code: So. I'm trying to loop throu ...
I'm trying to construct a query on an array using massivejs, but it keeps telling me the operator is unsupported. This query works: where data is ...
The following code returns id, title and content fields. I need only id and title. I need and an equivalent of "select id, title from laws where... ...
I am currently doing a React, Express, Massivejs, postgreSql app. I am getting the error "TypeError: db.createList is not a function" anytime I'm tryi ...
I am passing a string as param (via massivejs) into my query. The string is formatted as: param = 'red, blue, green'. The param itself does not have a ...
Using current version of MassiveJS and express for API calls. When using the SAVE function, Massive wants a list of column names to update as follows: ...
I'm new to Massive, but I really like it. While using express.Router() and making a very simple db call: I obtained an error: Error: Argument 0 ...
I have a connector.js file which using which I want to export dbResult object. Now in Another file I am trying to get the dbResult and display the ...