Did I find the right examples for you? yes no

All Samples(6)  |  Call(2)  |  Derive(0)  |  Import(4)
A qualifier function for identifiers.

It uses the :func:`delimit_identifier` and :func:`escape_identifier` to
qualifiy the input.

It returns the input with no changes if :func:`delimit_identifier` is
``None``.

>>> print identifier('column_name')
"column_name"(more...)

            @wraps(f)
    def qualifier_wrapper(x):
        if isinstance(x, raw):
            return x
        elif _is_iterable_not_str(x):
            return [item if isinstance(item, raw) else f(item) for item in x]
        else:
            return f(x)
        


src/m/o/mosql-0.9/mosql/func.py   mosql(Download)
]
 
from .util import raw, concat_by_comma, identifier
 
def _make_simple_function(name):
 
    def simple_function(*args):
        return raw('%s(%s)' % (
            name.upper(),
            concat_by_comma(identifier(x) for x in args)

src/m/o/mosql-HEAD/mosql/func.py   mosql(Download)
]
 
from .util import raw, concat_by_comma, identifier
 
def _make_simple_function(name):
 
    def simple_function(*args):
        return raw('%s(%s)' % (
            name.upper(),
            concat_by_comma(identifier(x) for x in args)

src/m/o/mosql-0.9/mosql/chain.py   mosql(Download)
'''It provides common formatting chain.'''
 
from .util import value, identifier, paren
from .util import concat_by_comma, concat_by_space, build_where, build_set, build_on
 

src/m/o/mosql-HEAD/mosql/chain.py   mosql(Download)
'''It provides common formatting chain.'''
 
from .util import value, identifier, paren
from .util import concat_by_comma, concat_by_space, build_where, build_set, build_on