Example #1
0
def getreply(msg_id):
    return _db.query('select * from `reply` where msg_id=%s' % msg_id)
Example #2
0
def getmsgs(limit=10):
    return _db.query('select * from `msg` limit %s' % limit)
Example #3
0
File: foo.py Project: 42qu/zqa
def getmsgs(limit=10):
    return _db.query('select * from `msg` limit %s' % limit);
Example #4
0
File: foo.py Project: 42qu/zqa
def getreplys(msg_id):
    return _db.query('select * from `reply` where msg_id=%s' % msg_id);
Example #5
0
File: foo.py Project: 42qu/znote
def getreply(msg_id):
    return _db.query("select * from `reply` where msg_id=%s" % msg_id)