What does each function do?

Report a typo

Below you will see a list of different functions from the database/sql package; match each of the functions with their correct definitions.

Match the items from left and right columns
sql.Open()
db.Close()
rows.Next()
rows.Scan()
db.Query()
Closes all opened DB connectors and frees resources
Allows us to read the data of the columns in each row into variables
Allows us to iterate over the queried rows
Creates a DB connector that allows us to access the database
Executes a Raw SQL statement that returns rows
___

Create a free account to access the full topic