IFetch
interface IFetch (View source)
This interface defines the contract for fetching data from a database.
Methods
mixed
fetch(int|null $fetchStyle = null, mixed $fetchArgument = null, mixed $optArgs = null)
Executes the query and returns the result.
mixed
fetchAll(int|null $fetchStyle = null, mixed $fetchArgument = null, mixed $optArgs = null)
Executes the query and returns all the results.
Details
mixed
fetch(int|null $fetchStyle = null, mixed $fetchArgument = null, mixed $optArgs = null)
Executes the query and returns the result.
mixed
fetchAll(int|null $fetchStyle = null, mixed $fetchArgument = null, mixed $optArgs = null)
Executes the query and returns all the results.