In one of my web2py apps, I’ve got a dynamic database calls sprinkled
throughout my controllers. While I don’t yet want to factor database
access out into a restful api, I do want to factor it out into a resource
design of a similar style even though it will use native python objects
rather
Dear Sirs,
I understand it's possible to use databases without DAL.
For example function in controller:
def values():
client = pymongo.MongoClient('localhost', 27017)
db = client.mybase
mytable = db[mytable]
res = mytable.find()
.
return dict()
And of course it
i created a database with tablename,fieldname
and i created a form-textbox in html language in views
how to compare these two things
When running web2py how do i access the mysql database using a
applicaiton like
http://www.mysqlfront.de/wp/download/
Also when creating a new application using the application wizard it
has no indication to specify a user login for the database. Where can
i change this.
4 matches
Mail list logo