Permalink
Browse files

fix(Query): fix for sqlite adapter

  • Loading branch information...
RWOverdijk committed Nov 20, 2018
1 parent c7cb6fa commit 20b3a02bbd3e76079fe0b1f0b2156e66651ca3bd
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Query.ts
@@ -94,7 +94,7 @@ export class Query {
parent.primaries.forEach(primary => {
let toUnion = statement.clone().where(parent.column, primary);
if (client.config.client === 'sqlite3') {
if (client.config.client === 'sqlite3' || client.config.client === 'sqlite') {
unionized.union(client.queryBuilder().select('*').from(client.raw(toUnion).wrap('(', ')')));
return unionized;

0 comments on commit 20b3a02

Please sign in to comment.