Tuples
Deprecated since version 2.26: Rarely used API
- class Tuples(*args, **kwargs)
- Constructors:
Tuples()
Methods
- class Tuples
- destroy() None
Frees the records which were returned by
select()
. This should always be called afterselect()
when you are finished with the records. The records are not removed from theRelation
.Deprecated since version 2.26: Rarely used API
- index(index_: int, field: int) None
Gets a field from the records returned by
select()
. It returns the given field of the record at the given index. The returned value should not be changed.Deprecated since version 2.26: Rarely used API
- Parameters:
index – the index of the record.
field – the field to return.
Fields
- class Tuples
- len
The number of records that matched.