active-group / active-group/sqlosure

`top` generates a query that is invalid for MSSQL

Đang mở
#7 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Clojure
Star
7
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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`.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.