mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-07 06:53:09 -06:00
comment on return value
This commit is contained in:
parent
9f3b9ab9e8
commit
875ce20ae1
|
|
@ -295,6 +295,7 @@ func (s *eventStatements) bulkSelectEventReference(eventNIDs []types.EventNID) (
|
|||
return results, nil
|
||||
}
|
||||
|
||||
// bulkSelectEventID returns a map from numeric event ID to string event ID.
|
||||
func (s *eventStatements) bulkSelectEventID(eventNIDs []types.EventNID) (map[types.EventNID]string, error) {
|
||||
rows, err := s.bulkSelectEventIDStmt.Query(eventNIDsAsArray(eventNIDs))
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue