Computer Science
A database …………… controls the connection to an actual database, established from within a Python program.
- database object
- connection object
- fetch object
- query object
Python MySQL
2 Likes
Answer
connection object
Reason — A database connection object controls the connection to the database. It represents a unique session with a database connected from within a script/program.
Answered By
3 Likes
Related Questions
Which method do you use to fetch records from the result set ?
In order to open a connection with MySQL database from within Python using mysql.connector package, …………… function is used.
- open()
- database()
- connect()
- connectdb()
The set of records retrieved after executing an SQL query over an established database connection is called …………… .
- table
- sqlresult
- result
- resultset
A database …………… is a special control structure that facilitates the row by row processing of records in the resultset.
- fetch
- table
- cursor
- query