DatabaseStatementEmpty
class DatabaseStatementEmpty
Empty implementation of a database statement.
This class satisfies the requirements of being a database statement/result object, but does not actually contain data. It is useful when developers need to safely return an "empty" result set without connecting to an actual database. Calling code can then treat it the same as if it were an actual result set that happens to contain no records.
Hierarchy
- class \DatabaseStatementEmpty implements \Iterator, DatabaseStatementInterface