Skip to content

Commit

Permalink
fix: use left join for segments to avoid nullmapping
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Kolstad committed Jul 14, 2022
1 parent 45cd888 commit c5ba4b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/db/feature-toggle-client-store.ts
Expand Up @@ -103,7 +103,7 @@ export default class FeatureToggleClientStore
`fss.feature_strategy_id`,
`fs.id`,
)
.fullOuterJoin('segments', `segments.id`, `fss.segment_id`);
.leftJoin('segments', `segments.id`, `fss.segment_id`);

query = query.where({
archived,
Expand Down

0 comments on commit c5ba4b8

Please sign in to comment.