MSSQL rows limit/offset via TOP or OFFSET ... FETCH NEXT ... ROWS
This commit is contained in:
parent
e2f32e746e
commit
cbdbe4891a
9 changed files with 54 additions and 6 deletions
bdb/drivers
|
@ -78,6 +78,11 @@ func (p *PostgresDriver) UseLastInsertID() bool {
|
|||
return false
|
||||
}
|
||||
|
||||
// UseTopClause returns false to indicate PSQL doesnt support SQL TOP clause
|
||||
func (m *PostgresDriver) UseTopClause() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// TableNames connects to the postgres database and
|
||||
// retrieves all table names from the information_schema where the
|
||||
// table schema is schema. It uses a whitelist and blacklist.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue