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
def getThreadsInRoom(cursor, roomid): query = Q.GetThreadsInRoom % {DC.Location: roomid} return pgDB.fetchList(cursor, query)
def getThreadsInRoom(cursor, roomid): query = Q.GetThreadsInRoom % {DC.RoomID: roomid} return pgDB.fetchList(cursor, query)