Exemple #1
0
func (query *Query) SetLimitOffset(limit int, offset int) {
	C.xtcrdb_qrysetlimit(query.Tyrant, C.int(limit), C.int(offset))
}
Exemple #2
0
func (query *Query) SetLimit(limit int) {
	C.xtcrdb_qrysetlimit(query.Tyrant, C.int(limit), 0)
}