(Translated by https://www.hiragana.jp/)
Add simple apl builder by bahlo · Pull Request #50 · axiomhq/axiom-rs · GitHub
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add simple apl builder #50

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft

Add simple apl builder #50

wants to merge 6 commits into from

Conversation

bahlo
Copy link
Member

@bahlo bahlo commented Jul 27, 2023

This adds a simple APL query builder. Example:

let query = QueryBuilder::new("my-dataset")
    .r#where("foo == 'bar'")
    .and("baz == 'qux'")
    .build();
assert_eq!(query, r#"['my-dataset'] | where foo == 'bar' and baz == 'qux'"#);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant