Trying to run following SQL statement cause this error:
AttributeError: 'tuple' object has no attribute 'keys'
SQL:
-- :name create_item :scalar
insert into item(title, type, user, status)
select :title, t.id, u.id, :status
from user as u
inner join item_type as t on u.user_name = :user and d.type = :type
RETURNING id
Trying to run following SQL statement cause this error:
SQL: