We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8abf59a + 58b4d9c commit 07a12c0Copy full SHA for 07a12c0
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