it is now fixed if i add select into a transaction
import web
db=web.database(dbn='firebird',db='localhost:/tmp/test.fdb',user='sysdba',password='masterkey')
#db.query("CREATE TABLE person (name varchar(255), email varchar(255))")
db.transaction()
result=db.query("select * from person")
#result=db.select('person')
print result[0]
python webpy_firebird.py
0.01 (1): select * from person
<Storage {'NAME': 'NAME', 'EMAIL': 'EMAIL'}>
--
You received this message because you are subscribed to the Google Groups
"web.py" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/webpy/-/JoV6_30sn3cJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/webpy?hl=en.