code: func (adapter *Adapter) InsertAll(query grimoire.Query, fields []string, allchanges []map[string]interface{}, loggers ...grimoire.Logger) ([]interface{}, error) {
  	statement, args := sql.NewBuilder(adapter.Config).Returning("id").InsertAll(query.Collection, fields, allchanges)
  
  	var result []struct {
  		ID int64
  	}
  
  	_, err := adapter.Query(&result, statement, args, loggers...)
  
  	ids := make([]interface{}, 0, len(result))
  	for _, r := range result {
  		ids = append(ids, r.ID)
  	}
  
  	return ids, err
  }
docs: // InsertAll inserts multiple records to database and returns its ids.