Package web2py :: Package gluon :: Module dal :: Class Expression

[hide private]
[frames] | no frames]

# Class Expression

source code

    object --+
             |
            Expression

Known Subclasses:
  Field

Instance Methods | [hide private]

__init__(self, db, op, first=global_settings.applications_parent, second=global_settings.applications_parent, type=global_settings.applications_parent) x.__init__(...) initializes x; see x.__class__.__doc__ for signature | source code

sum(self) | source code

max(self) | source code

min(self) | source code

len(self) | source code

lower(self) | source code

upper(self) | source code

year(self) | source code

month(self) | source code

day(self) | source code

hour(self) | source code

minutes(self) | source code

coalesce(self, *others) | source code

coalesce_zero(self) | source code

seconds(self) | source code

__getslice__(self, start, stop) | source code

__getitem__(self, i) | source code

__str__(self) str(x) | source code

__or__(self, other) | source code

__invert__(self) | source code

__add__(self, other) | source code

__sub__(self, other) | source code

__mul__(self, other) | source code

__div__(self, other) | source code

__mod__(self, other) | source code

__eq__(self, value) | source code

__ne__(self, value) | source code

__lt__(self, value) | source code

__le__(self, value) | source code

__gt__(self, value) | source code

__ge__(self, value) | source code

like(self, value, case_sensitive=True) | source code

regexp(self, value) | source code

belongs(self, value) | source code

startswith(self, value) | source code

endswith(self, value) | source code

contains(self, value, all=True) | source code

with_alias(self, alias) | source code

Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`

Properties | [hide private]

Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, db, op, first=global_settings.applications_parent, second=global_settings.applications_parent, type=global_settings.applications_parent)
(Constructor)

source code

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
  (inherited documentation)

### __str__(self)
(Informal representation operator)

source code

str(x)

Overrides: object.__str__
  (inherited documentation)