[Python-checkins] r51833 - python/trunk/Doc/lib/libsqlite3.tex
andrew.kuchling
python-checkins at python.org
Fri Sep 8 16:03:01 CEST 2006
Author: andrew.kuchling
Date: Fri Sep 8 16:03:01 2006
New Revision: 51833
Modified:
python/trunk/Doc/lib/libsqlite3.tex
Log:
Use native SQLite types
Modified: python/trunk/Doc/lib/libsqlite3.tex
==============================================================================
--- python/trunk/Doc/lib/libsqlite3.tex (original)
+++ python/trunk/Doc/lib/libsqlite3.tex Fri Sep 8 16:03:01 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