To return an array for the first row of a result set that’s returned by a SELECT statement, you use the ________________ method of the PDOStatement object for the result set.

Respuesta :

Answer:

fetch

Explanation:

The fetch method provides  an interface for getting resources. This mean that , it is capable of providing a generic definition of request and response.

It should be understood that, the fetch method takes or adopts the path to the resources that want to be fetched.

In conclusion, the fetch method is used in returning an array of results or resources. This means that, it returns a Promise that resolves to the Response to that request