We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8abf59a commit 58b4d9cCopy full SHA for 58b4d9c
lib/types/index.js
@@ -13,6 +13,8 @@ var noParse = function(val) {
13
14
//returns a function used to convert a specific type (specified by
15
//oid) into a result javascript type
16
+//note: the oid can be obtained via the following sql query:
17
+//SELECT oid FROM pg_type WHERE typname = 'TYPE_NAME_HERE';
18
var getTypeParser = function(oid, format) {
19
if (!typeParsers[format]) {
20
return noParse;
0 commit comments