Skip to content

Commit c8d14f6

Browse files
author
Loay Gewily
committed
Update method name
1 parent 6590184 commit c8d14f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/discovery.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ function mixinDiscovery(PostgreSQL) {
164164
* @param table
165165
* @returns {string}
166166
*/
167-
PostgreSQL.prototype.queryForPrimaryKeys = function(owner, table) {
167+
PostgreSQL.prototype.queryPrimaryKeys = function(owner, table) {
168168
var sql = 'SELECT kc.table_schema AS "owner", '
169169
+ 'kc.table_name AS "tableName", kc.column_name AS "columnName",'
170170
+ ' kc.ordinal_position AS "keySeq",'

0 commit comments

Comments
 (0)