MCPcopy Create free account
hub / github.com/PRQL/prql / append

Method append

prqlc/prqlc/src/sql/pq/anchor.rs:478–481  ·  view source on GitHub ↗

Moves all the elements of `other` into `self`, leaving `other` empty, then return `self` for chainability.

(mut self, mut other: Requirements)

Source from the content-addressed store, hash-verified

476 /// Moves all the elements of `other` into `self`, leaving `other` empty,
477 /// then return `self` for chainability.
478 pub fn append(mut self, mut other: Requirements) -> Requirements {
479 self.0.append(&mut other.0);
480 self
481 }
482
483 /// Set a maximum complexity to all stored requirements.
484 pub fn allow_up_to(mut self, max_complexity: Complexity) -> Self {

Callers 8

sourceFunction · 0.80
split_off_backFunction · 0.80
get_requirementsFunction · 0.80
clearMethod · 0.80
_appendMethod · 0.80
_showElementMethod · 0.80
_putElementInTemplateMethod · 0.80
showMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected