(sql)
return [unicode(stmt) for stmt in stack.run(sql)]
Split *sql* into single statements.

    Returns a list of strings.
Split *sql* into single statements.
Split * sql * into single statements .
def split(sql):
    """Split *sql* into single statements.

    Returns a list of strings.
    """
    stack = engine.FilterStack()
    stack.split_statements = True
    return [unicode(stmt) for stmt in stack.run(sql)]
def split ( sql ) : stack = engine . FilterStack ( ) stack . split_statements = True return [ unicode ( stmt ) for stmt in stack . run ( sql ) ]