Python sqlalchemy.sql.functions.GenericFunction() Examples

The following are 1 code examples of sqlalchemy.sql.functions.GenericFunction(). You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may also want to check out all available functions/classes of the module sqlalchemy.sql.functions , or try the search function .
Example #1
Source File: functions.py    From stdm with GNU General Public License v2.0 5 votes vote down vote up
def __init__(self, *args, **kwargs):
        expr = kwargs.pop('expr', None)
        if expr is not None:
            args = (expr,) + args
        functions.GenericFunction.__init__(self, *args, **kwargs)


# Functions are classified as in the PostGIS doc.
# <http://www.postgis.org/documentation/manual-svn/reference.html>