diff --git a/lib/types/index.js b/lib/types/index.js index b731433c..0750856c 100644 --- a/lib/types/index.js +++ b/lib/types/index.js @@ -13,6 +13,8 @@ var noParse = function(val) { //returns a function used to convert a specific type (specified by //oid) into a result javascript type +//note: the oid can be obtained via the following sql query: +//SELECT oid FROM pg_type WHERE typname = 'TYPE_NAME_HERE'; var getTypeParser = function(oid, format) { if (!typeParsers[format]) { return noParse;