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

Method take_to_define

prqlc/prqlc/src/sql/pq/context.rs:82–84  ·  view source on GitHub ↗

Analogous to [Option::take]

(&mut self)

Source from the content-addressed store, hash-verified

80impl RelationStatus {
81 /// Analogous to [Option::take]
82 pub fn take_to_define(&mut self) -> RelationStatus {
83 std::mem::replace(self, RelationStatus::Defined)
84 }
85}
86
87/// A relation which may have already been preprocessed.

Callers 2

compile_loopFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected