Esempio n. 1
0
def getRoomItems(cursor, roomID):
	"""
	Gets items in the room from the database.
	"""
	query = Q.GetItemsInRoom % {DC.RoomID: roomID}
	res = pgDB.fetchList(cursor, query)
	return res
Esempio n. 2
0
def getRoomItems(cursor, roomID):
    """
	Gets items in the room from the database.
	"""
    query = Q.GetItemsInRoom % {DC.RoomID: roomID}
    res = pgDB.fetchList(cursor, query)
    return res
Esempio n. 3
0
def getThreadsInRoom(cursor, roomid):
	query = Q.GetThreadsInRoom % {DC.Location: roomid}
	return pgDB.fetchList(cursor, query)
Esempio n. 4
0
def getThreadsInRoom(cursor, roomid):
    query = Q.GetThreadsInRoom % {DC.RoomID: roomid}
    return pgDB.fetchList(cursor, query)