Helper function to create a query plan. The resulting query will provide values for the requested target variables, under the constraints expressed by the bindings provided.
(target_variables: Vec<Var>, bindings: Vec<Binding>)
| 852 | /// provide values for the requested target variables, under the |
| 853 | /// constraints expressed by the bindings provided. |
| 854 | pub fn q(target_variables: Vec<Var>, bindings: Vec<Binding>) -> Plan { |
| 855 | Plan::Hector(Hector { |
| 856 | variables: target_variables, |
| 857 | bindings, |
| 858 | }) |
| 859 | } |
| 860 | |
| 861 | /// Returns a deduplicates list of all rules used in the definition of |
| 862 | /// the specified names. Includes the specified names. |