diff roundup/backends/back_sqlite.py @ 1195:e0032f4ab334

added missing stringFind to sql backends
author Richard Jones <richard@users.sourceforge.net>
date Tue, 24 Sep 2002 01:59:28 +0000
parents 08a13a84ed43
children dd52bf10f934
line wrap: on
line diff
--- a/roundup/backends/back_sqlite.py	Tue Sep 24 01:36:04 2002 +0000
+++ b/roundup/backends/back_sqlite.py	Tue Sep 24 01:59:28 2002 +0000
@@ -1,4 +1,4 @@
-# $Id: back_sqlite.py,v 1.4 2002-09-23 06:48:35 richard Exp $
+# $Id: back_sqlite.py,v 1.5 2002-09-24 01:59:28 richard Exp $
 __doc__ = '''
 See https://pysqlite.sourceforge.net/ for pysqlite info
 '''
@@ -33,6 +33,11 @@
         '''
         return self.cursor.fetchone()
 
+    def sql_fetchall(self):
+        ''' Fetch a single row. If there's nothing to fetch, return [].
+        '''
+        return self.cursor.fetchall()
+
     def sql_commit(self):
         ''' Actually commit to the database.
 

Roundup Issue Tracker: http://roundup-tracker.org/