Example #1
0
def list_user():
    data_user = db.query_select("select * from pengguna",'all')
    return data_user
Example #2
0
def get_setting(setting):
     data = db.query_select("select nilai from setting where nama like '"+setting+"'") 
     return data[0]