What is work of row factory in sqlite3 , explain me briefly with example | Sololearn: Learn to code for FREE!

0

What is work of row factory in sqlite3 , explain me briefly with example

Sqlite3

5/7/2020 11:41:56 AM

Praneet Negi

3 Answers

New Answer

0

Praneet Negi Row to the row_factory of connection creates what some people call a 'dictionary cursor', - instead of tuples it starts returning 'dictionary' rows after fetchall or fetchone. The pretty standard example: import sqlite3 as sqlite conn = sqlite. hope it helped

0

Sqlite3.Row function???? Pls explain me

0

Ok I get but Can you give me some example?