Queries database for channel data, among other things.