QuestionQ44Verified/File Processing and Communicating with a Program’s EnvironmentCopy linkReport a problemAsk AstroTutorSave questionChoose the true statements regarding the sqlite3 module.Choose twoAThe sqlite3 module provides an interface compliant with the DB-API 2.0BThe special name memory is used to create a database in RAMCThe sqlite3 module does not support transactions.DThe fetchall method returns an empty list when no rows are available.Show AnswerAnswerExplanationPython’s sqlite3 module implements a DB-API 2.0 interface for SQLite databases. Its Cursor.fetchall() method returns all remaining result rows as a list and returns an empty list when no rows are available. SQLite in-memory databases use ":memory:", and the module supports transactions.Learn moresqlite3 — DB-API 2.0 interface for SQLite databasesShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion