active-group / active-group/sqlosure

`top` generates a query that is invalid for MSSQL

Open
#7 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Clojure
Stars
7
Forks
0
PR merge metrics
No merged PRs in 30d

Description

The `(top!)` query generates an SQL statement like `select ... from ... limit N`, but MSSQL does not accept that. There the result set can be reduced like `select top N from ...`.

Afaik, there is no way to change that in a custom 'backend', is it?

I don't know if adjusting the SQL generated from the expression is the best way to go, or allowing a library user to add new sqlosure expressions, so that I could write my own `mssql-top`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.