Project

General

Profile

« Previous | Next » 

Revision 3523

sql_gen.py: Added ArrayJoin

View differences:

lib/sql_gen.py
946 946
        if index_col_ != None: return index_col_.to_str(db)
947 947
        return Coalesce.to_str(self, db)
948 948

  
949
#### Arrays
950

  
951
class ArrayJoin(FunctionCall):
952
    def __init__(self, sep, array):
953
        array = to_Array(array)
954
        FunctionCall.__init__(self, InternalFunction('array_to_string'), array,
955
            sep)
956

  
949 957
##### Table exprs
950 958

  
951 959
class Values(Code):

Also available in: Unified diff