You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a minor issue with the documentation and the comments inside the code.
According to the docs, the QueryConfig object (and thus, also the Query constructor) has a member called types, but the docs say nothing about what kind of values it accepts. According to a comment in the code, types must be something like ['int8', 'bool']. But a few lines further down, it is treated like an integer. Based on my testing, this integer appears to be the oid of the type.
So maybe the comment should be removed and possibly add an explanation of the purpose of types in the documentation. A possibly better option would be to change types to accept something like ['int8', 'bool'], but I am not sure if it's worth it.
The text was updated successfully, but these errors were encountered:
This is a minor issue with the documentation and the comments inside the code.
According to the docs, the
QueryConfig
object (and thus, also theQuery
constructor) has a member calledtypes
, but the docs say nothing about what kind of values it accepts. According to a comment in the code,types
must be something like['int8', 'bool']
. But a few lines further down, it is treated like an integer. Based on my testing, this integer appears to be theoid
of the type.So maybe the comment should be removed and possibly add an explanation of the purpose of
types
in the documentation. A possibly better option would be to changetypes
to accept something like['int8', 'bool']
, but I am not sure if it's worth it.The text was updated successfully, but these errors were encountered: