// All executes the query and returns a list of APIAudits.
All executes the query and returns a list of APIAudits.
// All executes the query and returns a list of APIAudits .
func (aaq *APIAuditQuery) All(ctx context.Context) ([]*APIAudit, error) {
	if err := aaq.prepareQuery(ctx); err != nil {
		return nil, err
	}
	return aaq.sqlAll(ctx)
}
func ( aaq * APIAuditQuery ) All ( ctx context . Context ) ( [ ] * APIAudit , error ) { if err := aaq . prepareQuery ( ctx ) ; err != nil { return nil , err } return aaq . sqlAll ( ctx ) }
All executes the query and returns a list of APIAudits.
All executes the query and returns a list of APIAudits .