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 attachments are confidential and may contain 
information that is privileged, confidential, or exempt from disclosure 
under law. If you are not the intended recipient, delete this message and 
notify the sender immediately. Any unauthorized use is strictly prohibited.

-- 
SQLAlchemy - 
The Python SQL Toolkit and Object Relational Mapper

http://www.sqlalchemy.org/

To post example code, please provide an MCVE: Minimal, Complete, and Verifiable 
Example.  See  http://stackoverflow.com/help/mcve for a full description.
--- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sqlalchemy/948e8696-60c6-4f12-a15a-b9d3acf9fe5an%40googlegroups.com.

Reply via email to