1.0.7 • Published 2 years ago

ohm-grammar-miniquery v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Move to @wener/miniquery

ohm-grammar-miniquery

SQL Where like filter expression for sequelize

Sequelize

import {toSequelizeWhere} from 'ohm-grammar-miniquery/sequelize';

await User.findAll({
  where: toSequelizeWhere(`name like 'wen%' and age > 18`),
});
1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago