Closed nicewook closed 4 years ago
This is my code
TransactionID field is int32 type, tag is
TransactionID int32json:"transactionID" storm:"id,index,increment"``
TransactionID int32
So I want to have records from since with amount of limit db.AllByIndex("TransactionID", &txLogs, storm.Limit(limit), storm.Skip(since))
since
limit
db.AllByIndex("TransactionID", &txLogs, storm.Limit(limit), storm.Skip(since))
But, I think storm fetch them as if it is string, not int32
string
int32
This is my code
TransactionID field is int32 type, tag is
TransactionID int32
json:"transactionID" storm:"id,index,increment"``So I want to have records from
since
with amount oflimit
db.AllByIndex("TransactionID", &txLogs, storm.Limit(limit), storm.Skip(since))
But, I think storm fetch them as if it is
string
, notint32