Question: configuration = AppConfig ( reload = True ) if not request,env.web 2 py _ runtime _ gae: # # if NOT running on Google App
configuration AppConfigreloadTrue
if not request,env.webpyruntimegae:
#
# if NOT running on Google App Engine use SQLite or other DB
#
DALmysql:root: root@localhosttestsetencodingutfmb
migrateenabledFalse
else:
#
# connect to Google BigTable optional 'google:datastore:namespace
#
DALgoogle:datastorendb
#
# store sessions and tickets there
#
session. connect request response,
#
# or store session in Memcache, Redis, etc.
# from gluon.contrib, memdb import MEMDB
# from google.appengine.api.memcache import Client
# session. connectrequest response, MEMDBClient
#
dbdefinetableauthors
Fieldid 'integer'
Fieldname requiresISNOTEMPTY
Fieldbio 'text'
Fieldemail requiresISEMAIL
db def inetablebooks
fieldid 'integer'
Fieldtitie requiresISNOTEMPTY
Fieldauthor reference authors'
Fieldpublicationyear', 'integer', requiresISINTINRANGE
Fieldsummary 'text'
How would you join the two tables using DAL
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
