// LoadRecords populates action.Records func (action *AccountIndexAction) LoadRecords() { action.LoadQuery() if action.Err != nil { return } action.Err = db.Select(action.Ctx, action.Query, &action.Records) }
// LoadRecord populates action.Record func (action *OrderBookShowAction) LoadRecord() { action.Err = db.Select(action.Ctx, action.Query, &action.Record) }