Properly abstract LastInsertID
This commit is contained in:
parent
ef03225024
commit
944303f2f5
9 changed files with 93 additions and 94 deletions
bdb/drivers
|
@ -74,6 +74,11 @@ func (p *PostgresDriver) Close() {
|
|||
p.dbConn.Close()
|
||||
}
|
||||
|
||||
// UseLastInsertID returns false for postgres
|
||||
func (p *PostgresDriver) UseLastInsertID() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// TableNames connects to the postgres database and
|
||||
// retrieves all table names from the information_schema where the
|
||||
// table schema is public. It excludes common migration tool tables
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue