Module ezsqlobject :: Class EzSqlTab
[show private | hide private]
[frames | no frames]

Class EzSqlTab


Convenience wrapper for SQLObject table classes

Adds:
Method Summary
  __init__(self, tab)
  __getattr__(self, attr)
Passes all unknown attribute fetches to the table
  __getitem__(self, item)
Vastly inefficient but convenient way to retrieve table contents as array indices
  __getslice__(self, fromidx, toidx)
Vastly inefficient but convenient way to retrieve table contents as array slices
  __len__(self)
Supports len(table)
  __repr__(self)
  __str__(self)
  dump(self)
Interactive function to dump out table contents
  select(self, *args, **kw)
Wraps a select into an EzSqlResults object

Method Details

__getattr__(self, attr)
(Qualification operator)

Passes all unknown attribute fetches to the table

__getitem__(self, item)
(Indexing operator)

Vastly inefficient but convenient way to retrieve table contents as array indices

__getslice__(self, fromidx, toidx)
(Slicling operator)

Vastly inefficient but convenient way to retrieve table contents as array slices

__len__(self)
(Length operator)

Supports len(table)

dump(self)

Interactive function to dump out table contents

select(self, *args, **kw)

Wraps a select into an EzSqlResults object

Generated by Epydoc 2.0 on Fri Mar 26 13:22:45 2004 http://epydoc.sf.net