Start account data ID from from
This commit is contained in:
parent
4c19f22725
commit
6892e0f0e0
|
@ -118,7 +118,7 @@ func (s *accountDataStatements) SelectAccountDataInRange(
|
||||||
|
|
||||||
var dataType string
|
var dataType string
|
||||||
var roomID string
|
var roomID string
|
||||||
var id types.StreamPosition
|
id := r.From
|
||||||
|
|
||||||
for rows.Next() {
|
for rows.Next() {
|
||||||
if err = rows.Scan(&id, &roomID, &dataType); err != nil {
|
if err = rows.Scan(&id, &roomID, &dataType); err != nil {
|
||||||
|
|
|
@ -114,7 +114,7 @@ func (s *accountDataStatements) SelectAccountDataInRange(
|
||||||
|
|
||||||
var dataType string
|
var dataType string
|
||||||
var roomID string
|
var roomID string
|
||||||
var id types.StreamPosition
|
id := r.From
|
||||||
|
|
||||||
for rows.Next() {
|
for rows.Next() {
|
||||||
if err = rows.Scan(&id, &roomID, &dataType); err != nil {
|
if err = rows.Scan(&id, &roomID, &dataType); err != nil {
|
||||||
|
|
Loading…
Reference in a new issue