// Clone returns a duplicate of the APIAuditQuery builder, including all associated steps. It can be
// used to prepare common query builders and use them differently after the clone is made.
Clone returns a duplicate of the APIAuditQuery builder, including all associated steps. It can be
used to prepare common query builders and use them differently after the clone is made.
// Clone returns a duplicate of the APIAuditQuery builder including all associated steps . It can be // used to prepare common query builders and use them differently after the clone is made .
func (aaq *APIAuditQuery) Clone() *APIAuditQuery {
	if aaq == nil {
		return nil
	}
	return &APIAuditQuery{
		config:     aaq.config,
		limit:      aaq.limit,
		offset:     aaq.offset,
		order:      append([]OrderFunc{}, aaq.order...),
		predicates: append([]predicate.APIAudit{}, aaq.predicates...),
		sql:  aaq.sql.Clone(),
		path: aaq.path,
	}
}
func ( aaq * APIAuditQuery ) Clone ( ) * APIAuditQuery { if aaq == nil { return nil } return & APIAuditQuery { config : aaq . config , limit : aaq . limit , offset : aaq . offset , order : append ( [ ] OrderFunc { } , aaq . order ... ) , predicates : append ( [ ] predicate . APIAudit { } , aaq . predicates ... ) , sql : aaq . sql . Clone ( ) , path : aaq . path , } }
Clone returns a duplicate of the APIAuditQuery builder, including all associated steps.
Clone returns a duplicate of the APIAuditQuery builder including all associated steps .
// clone intermediate query.