-
```
knex('users').sum('products')
Outputs:
select sum(`products`) from `users`
```
How do you cast types in this instance, e.g.:
```
select sum(`products`)::BIGINT from `users`
```
-
Your readme file says:
>especially useful when used in combination with fixture-factory.
... and then it doesn't seem to make any further mention of the library whatsoever.
It seems like it'd…
-
# Environment
Knex version: 0.21.1
Database + version: MySQL
OS: Linux
# Feature discussion / request
1. Explain what is your use case
Developing locally on TypeScript but running tests …
-
-
The following can be reproduced by using many stores, but in this example we're using `seneca-knex-store` against a postgres instance. Before you can run the code, create the `racers` table:
```
CRE…
-
https://github.com/tarrsalah/sqlite-web/blob/master/index.js
-
I am using the evtstore library in our app and I need a way to pass transaction in knex provider in order to rollback a sequence of actions in our application. Do you have any advice for it? After a s…
-
Hello.
I was looking for a some way to collect statistics about query execution time. Digging into issues and knex sources I found some events like 'query', 'query-response', etc.
Should I consi…
-
There should be a little panel to let you view the last few queries that were executed, even if they were generated by the application
-
Create a custom query with GROUP BY clause, it will return false number as total
As the current SQL query to get the total number of row is by using a count statement in SQL select, if we are using G…