Search for fetchAll

Functions & methods

NameLocationDescription
DatabaseEmptyStatementTestCase::testEmptyFetchAllmodules/simpletest/tests/database_test.testTest that the empty result set mass-fetches in an expected way.
DatabaseStatementBase::fetchAllAssocincludes/database/database.incReturns the result set as an associative array keyed by the given field.
DatabaseStatementBase::fetchAllKeyedincludes/database/database.incReturns the entire result set as a single associative array.
DatabaseStatementEmpty::fetchAllincludes/database/database.inc
DatabaseStatementEmpty::fetchAllAssocincludes/database/database.incReturns the result set as an associative array keyed by the given field.
DatabaseStatementEmpty::fetchAllKeyedincludes/database/database.incReturns the entire result set as a single associative array.
DatabaseStatementInterface::fetchAllAssocincludes/database/database.incReturns the result set as an associative array keyed by the given field.
DatabaseStatementInterface::fetchAllKeyedincludes/database/database.incReturns the entire result set as a single associative array.
DatabaseStatementPrefetch::fetchAllincludes/database/prefetch.inc
DatabaseStatementPrefetch::fetchAllAssocincludes/database/prefetch.incReturns the result set as an associative array keyed by the given field.
DatabaseStatementPrefetch::fetchAllKeyedincludes/database/prefetch.incReturns the entire result set as a single associative array.