Skip to content
This repository has been archived by the owner on Nov 9, 2021. It is now read-only.

Add semantic-comparison logic for queries/expressions #360

Open
orlavy-bigabid opened this issue Jul 2, 2018 · 0 comments
Open

Add semantic-comparison logic for queries/expressions #360

orlavy-bigabid opened this issue Jul 2, 2018 · 0 comments

Comments

@orlavy-bigabid
Copy link

I would like to test function that return 'squel' query/expr object so I think there should be a method to compare identity between 'squel' products. Somthing like this :

const exp1 = squel.expr().and('age = ?', 54).and('salary >', 10000);

const exp2 = squel.expr().and('age = ?', 54).and('salary >', 10000);

expr1.isEqual(exp2) // true

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

No branches or pull requests

1 participant