gid-oss / dataui-nestjs-crud

NestJs CRUD for RESTful APIs
https://github.com/nestjsx/crud/wiki
MIT License
124 stars 32 forks source link

adding better-sqlite3 support for $contArr and $intersectsArr #65

Open frisch-raphael opened 2 weeks ago

frisch-raphael commented 2 weeks ago

Hi,

I'm currently using better-sqlite3 in my project, and found out the hard way that the code for $contArr and $intersectsArr are compatible only with postgresql. This PR adds support for the better-sqlite3 typeorm driver. I'm by no mean an SQL expert so don't hesitate to comment on my code. Tests are failing, but they also fail on the same step when I don't modify the code at all. May be there's a problem with my setup ?

Regards, Raphaël