active-group / active-group/sqlosure

`top` generates a query that is invalid for MSSQL

未關閉
#7 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Clojure
星號
7
分支
0
PR 合併指標
30 天內沒有已合併 PR

描述

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

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。