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
Here, the hash gets unpacked and the $arg->{value} part of the ByteString::to_db() method gets assigned to $arg (note that there's no reference to the returned hash anymore at this point).
Then, execution continues to binding the parameters. At this point, you want to have the return value from ByteString's to_db() available, so we can use the 'type' key here:
to bind to a pg_type. However, because we unpacked the returned hash in L306, there no longer is a hash and we pass on to the second half of the if statement, dropping everything after the first NULL (\0) character.
The text was updated successfully, but these errors were encountered:
The helper returns a hash containing (in case of ByteString) two keys: type and value. That return value is recorded here:
Then, the same mapper goes on to:
Here, the hash gets unpacked and the $arg->{value} part of the ByteString::to_db() method gets assigned to $arg (note that there's no reference to the returned hash anymore at this point).
Then, execution continues to binding the parameters. At this point, you want to have the return value from ByteString's to_db() available, so we can use the 'type' key here:
to bind to a pg_type. However, because we unpacked the returned hash in L306, there no longer is a hash and we pass on to the second half of the if statement, dropping everything after the first NULL (\0) character.
The text was updated successfully, but these errors were encountered: