mirror of
https://github.com/documize/community.git
synced 2025-07-24 15:49:44 +02:00
Make storage providers generate row limit clause
This commit is contained in:
parent
8515a77403
commit
2ddd7ada9b
5 changed files with 36 additions and 0 deletions
3
core/env/provider.go
vendored
3
core/env/provider.go
vendored
|
@ -111,4 +111,7 @@ type StoreProvider interface {
|
|||
// IsFalse returns storage provider boolean FALSE:
|
||||
// MySQL is 0, PostgresSQL is FALSE, SQL Server is 0
|
||||
IsFalse() string
|
||||
|
||||
// RowLimit returns SQL for limited number of returned rows
|
||||
RowLimit(max int) string
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue