MCPcopy Create free account
hub / github.com/PerroEngine/Perro / add_in

Method add_in

perro_source/core/perro_csv/src/lib.rs:719–732  ·  view source on GitHub ↗
(mut self, logic: CsvLogic, col: &str, values: &[&str])

Source from the content-addressed store, hash-verified

717 rows.push(row_idx);
718 }
719 }
720 }
721 None => {
722 for row_idx in 0..self.table.rows.len() {
723 if self.matches(row_idx) {
724 rows.push(row_idx);
725 }
726 }
727 }
728 }
729 if let Some(sort) = self.sort
730 && sort.col != INVALID_COL
731 {
732 let limit = self.limit.filter(|limit| *limit < rows.len());
733 if limit == Some(0) {
734 rows.clear();
735 } else {

Callers 2

where_inMethod · 0.80
or_where_inMethod · 0.80

Calls 4

string_to_u64Function · 0.85
pushMethod · 0.45
colMethod · 0.45
iterMethod · 0.45

Tested by

no test coverage detected