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

FormHandler and gramex.data.filter could support table joins #700

Open
sanand0 opened this issue Mar 15, 2023 · 0 comments · May be fixed by #705
Open

FormHandler and gramex.data.filter could support table joins #700

sanand0 opened this issue Mar 15, 2023 · 0 comments · May be fixed by #705
Assignees

Comments

@sanand0
Copy link
Contributor

sanand0 commented Mar 15, 2023

A possible syntax could be:

    kwargs:
      url: ...
      table: [sales, customer, product]
      join:
        customer:
          type: inner
          on:
            sales.customer: customer.id
            sales.city: customer.city
        product:
          join: left
          on:
            sales.product: product.id
      default:
        sales.amount>~: 0
        customer.age>~: 0
@shraddheya shraddheya self-assigned this Mar 23, 2023
@shraddheya shraddheya linked a pull request Mar 31, 2023 that will close this issue
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 a pull request may close this issue.

2 participants