rethink.go
func (s RethinkStore) Before(id string, count int, skip int, store string) (rows ObjectRows, err error) {
	result, err := r.DB(s.Database).Table(store).Filter(r.Row.Field("id").Lt(id)).Limit(count).Skip(skip).Run(s.Session)
	if err != nil {
		return
	}
	defer result.Close()
	//	result.All(dst)
	rows = RethinkRows{result}
	return
}
func (s RethinkStore) Before(id string, count int, skip int, store string) (rows ObjectRows, err error) {
	result, err := r.DB(s.Database).Table(store).Filter(r.Row.Field("id").Lt(id)).Limit(count).Skip(skip).Run(s.Session)
	if err != nil {
		return
	}
	defer result.Close()
	//	result.All(dst)
	rows = RethinkRows{result}
	return
}
func ( s RethinkStore ) Before ( id string , count int , skip int , store string ) ( rows ObjectRows , err error ) { result , err := r . DB ( s . Database ) . Table ( store ) . Filter ( r . Row . Field ( " " ) . Lt ( id ) ) . Limit ( count ) . Skip ( skip ) . Run ( s . Session ) if err != nil { return } defer result . Close ( ) //	result.All(dst) rows = RethinkRows { result } return }
//Before will retrieve all old rows that were created before the row with id was created
// [1, 2, 3, 4], before 2 will return [3, 4]
//r.db('worksmart').table('store').orderBy({'index': r.desc('id')}).filter(r.row('schemas')
// .eq('osiloke_tsaboin_silverbird').and(r.row('id').lt('55b54e93f112a16514000057')))
// .pluck('schemas', 'id','tid', 'timestamp', 'created_at').limit(100)
Before will retrieve all old rows that were created before the row with id was created [ 1 2 3 4 ] before 2 will return [ 3 4 ] r . db ( worksmart ) . table ( store ) . orderBy ( { index : r . desc ( id ) } ) . filter ( r . row ( schemas ) . eq ( osiloke_tsaboin_silverbird ) . and ( r . row ( id ) . lt ( 55b54e93f112a16514000057 ))) . pluck ( schemas id tid timestamp created_at ) . limit ( 100 )