mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-08-03 11:50:08 +03:00
Merge 5159326448
into 4b4d2796b7
This commit is contained in:
commit
09e0d65fd5
|
@ -820,7 +820,8 @@ class HstoreAdapter(object):
|
|||
|
||||
k = _ext.adapt(self.wrapped.keys())
|
||||
k.prepare(self.conn)
|
||||
v = _ext.adapt(self.wrapped.values())
|
||||
values = [str(v) for v in self.wrapped.values()]
|
||||
v = _ext.adapt(values)
|
||||
v.prepare(self.conn)
|
||||
return b"hstore(" + k.getquoted() + b", " + v.getquoted() + b")"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user