diff Doc/lib/libsqlite3.tex @ 39815:a4a214bdf8ea 2.5

Use native SQLite types
author Andrew M. Kuchling <amk@amk.ca>
date Fri, 08 Sep 2006 14:03:19 +0000
parents 6a83b2740fc7
children e57d8ae45669 07a44bff967f
line wrap: on
line diff
--- a/Doc/lib/libsqlite3.tex	Fri Sep 08 13:36:57 2006 +0000
+++ b/Doc/lib/libsqlite3.tex	Fri Sep 08 14:03:19 2006 +0000
@@ -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