[Python-checkins] r51834 - python/branches/release25-maint/Doc/lib/libsqlite3.tex

andrew.kuchling python-checkins at python.org
Fri Sep 8 16:03:20 CEST 2006


Author: andrew.kuchling
Date: Fri Sep  8 16:03:19 2006
New Revision: 51834

Modified:
   python/branches/release25-maint/Doc/lib/libsqlite3.tex
Log:
Use native SQLite types

Modified: python/branches/release25-maint/Doc/lib/libsqlite3.tex
==============================================================================
--- python/branches/release25-maint/Doc/lib/libsqlite3.tex	(original)
+++ python/branches/release25-maint/Doc/lib/libsqlite3.tex	Fri Sep  8 16:03:19 2006
@@ -36,8 +36,8 @@
 
 # Create table
 c.execute('''create table stocks
-(date timestamp, trans varchar, symbol varchar,
- qty decimal, price decimal)''')
+(date text, trans text, symbol text,
+ qty real, price real)''')
 
 # Insert a row of data
 c.execute("""insert into stocks


More information about the Python-checkins mailing list