On 13Mar2023 09:05, Yoav Kopfstein wrote:
I would like to declare an index in orm class with sqlalchemy 1.4
The index is created in postgres with this command:
create index index_name
on table_name (GREATEST(field_1, field_2));
how can I do it? (with __table_args__ or without )
Do you
Hi,
I would like to declare an index in orm class with sqlalchemy 1.4
The index is created in postgres with this command:
create index index_name
on table_name (GREATEST(field_1, field_2));
how can I do it? (with __table_args__ or without )
thanks
--
--
NOTICE: This email and all attach