[DB-SIG] None Value??
Conrad Koziol
arkamir at softhome.net
Mon Oct 6 18:24:37 EDT 2003
Hey what does MySQLdb return if it cant find the value. Like in the code
below, what if conrad does not exist in the table users, what would
result equal?
db = MySQL.connect(host='localhost, user='conrad', passwd='python',
db='general')
cursor = db.cursor()
cursor.execute('SELECT conrad FROM users')
result = cursor.fetchall()
thanks,
Conrad
p.s. sorry about the simplicity of the question but i dont have mysqldb
set up right now so i cant test it, but im working on it.
More information about the DB-SIG
mailing list