python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Knex onIn for Columns
I need to reach the following SQL result using Knex:
select themes.id as theme_id,
themes.title as theme_title,
subthemes.id as subtheme_id,
subtheme...
Sammy
Votes: 0
Answers: 1
Add a new column and also index it using knex?
I have a simple knext migration to add a new column:
import * as Knex from "knex";
export async function up(knex: Knex): Promise<void> {
await knex.schema.alterTable("bins"...
kastaplastislife
Votes: 0
Answers: 0
How to configure Knex for a horizontally scaled system?
How should I configure Knex.js for a horizontally scaled system (Docker Swarm / Kubernetes) that uses a Postgres database.
For each new process I add, the open connections to the database increases. T...
Per Sunde
Votes: 0
Answers: 0
Error: The server does not support SSL connections | PostgreSQL + Knex
I have my back-end at Heroku. The connection file looks like this:
const knex = require("knex")({
client: "pg",
connection: {
host: process.env.DB_HOST,
user: process.e...
Maicon
Votes: 0
Answers: 1