comment explaining how to get oid

This commit is contained in:
Lalit Kapoor 2014-01-07 11:48:55 -06:00
parent 8abf59a632
commit 58b4d9cf9c

View File

@ -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;