From a575381977e1b02d3eaf7c7b62e6688583ef71d8 Mon Sep 17 00:00:00 2001 From: Terentev Date: Thu, 11 Jul 2013 14:41:36 +0400 Subject: getitem operator from operators for postgres ARRAY --- lib/sqlalchemy/sql/compiler.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/sqlalchemy/sql/compiler.py b/lib/sqlalchemy/sql/compiler.py index 93dc3fc4d..ddfba55bb 100644 --- a/lib/sqlalchemy/sql/compiler.py +++ b/lib/sqlalchemy/sql/compiler.py @@ -115,6 +115,7 @@ OPERATORS = { operators.asc_op: ' ASC', operators.nullsfirst_op: ' NULLS FIRST', operators.nullslast_op: ' NULLS LAST', + operators.getitem: '' } FUNCTIONS = { -- cgit v1.2.1