MCQs > IT & Programming > Ruby > DBD::Mysql implements some driver-specific functions to be used In Ruby. Given below is one such function: dbh.func(:insert_id) => Fixnum What is the purpose of this function?

Ruby MCQs

DBD::Mysql implements some driver-specific functions to be used In Ruby. Given below is one such function:

dbh.func(:insert_id) => Fixnum

What is the purpose of this function?


Answer

Correct Answer:

It returns the most recent AUTO_lNCREMENT value for a connection.  

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Ruby Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Ruby Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it