с новым годом =)
Подскажите, как с помощью sqlalchemy переписать следующий запрос:
select * from operations where id=%s and category_id in
(select id from categories where user_id=%s); % (self.record_id, self.user_id);
спасибо.
с новым годом =)
Подскажите, как с помощью sqlalchemy переписать следующий запрос:
select * from operations where id=%s and category_id in
(select id from categories where user_id=%s); % (self.record_id, self.user_id);
спасибо.