1.0.7 • Published 6 months ago

ohm-grammar-miniquery v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months 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

6 months ago

1.0.6

9 months ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago