-
With the new process used by the [tc39](https://github.com/tc39/ecma262#ecmascript) committee, evolution to the language will be released every year.
I think that it would be better to stick to the *…
-
Please read original suggestion, see https://github.com/TryGhost/Ghost/pull/7495#issuecomment-260587338
Current state of our test env is: in each test (especially integration tests) we are resettin…
-
When creating a migration for a MySQL table that uses the `timestamps` method to create a `created_at` and `updated_at` column, it produces this:
```
| created_at | timestamp | NO | …
-
How can one specify a schema when creating a query for PostgreSQL. In NodeJS library called KnexJS, one can specify schema name like `knex('tablename').schema('public').where(...)` I have a database t…
-
I'm trying to implement Knex migrations with async/await in combination with `babel-cli` and `babel-preset-env`, but I'm not sure it's supported in its current implementation. Can someone shed some li…
-
For example,
```
ALTER TABLE users ADD UNIQUE KEY(LoginID, Email);
ALTER TABLE users ADD UNIQUE KEY(Email);
ALTER TABLE users ADD UNIQUE KEY(LoginID);
```
How do I do it with `Knex.Schema.createTabl…
-
Is there a method ( like knex.onError = function(detail){}) used to handle global error ?
-
I'm working on a small project using microservices that all share one database. The issue is that I have migration files within each of the services and they do not all reside in one location. This re…
-
I want to get the next data and parse it to an existing object, I do something like these
```js
IndexController.route('/posts/:slug')
.get(function(req, res, next) {
var slug = req.params.slug
…
-
As defined in the SQL standard, when grouping, you may no longer project any columns that are not a formal part of the GROUP BY clause, or aggregate functions.
I have made test on Oracle, MSSql and…