beedb.go: use limit/offset syntax when constructing sql