tommybananas / finale

Create flexible REST endpoints and controllers from Sequelize models in your Express app
188 stars 36 forks source link

Associate an enpoint with a raw SQL query? #65

Closed glaroc closed 4 years ago

glaroc commented 4 years ago

Is it possible to associate an enpoint with a raw SQL query ? In other words, have an endpoint that is associated to a query instead of a model?

tommybananas commented 4 years ago

I would say that is out of scope to this project. If the use case doesn’t fit within the hooks workflow I think you should just create your own endpoint with express or whatever.

On Thu, May 14, 2020 at 11:53 AM Guillaume Larocque < notifications@github.com> wrote:

Is it possible to associate an enpoint with a raw SQL query ? In other words, have an endpoint that is associated to a query instead of a model?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tommybananas/finale/issues/65, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQQWEZOCZIBSXMUEO5QJUTRRQOXXANCNFSM4NA3MQ6A .

glaroc commented 4 years ago

Ok, thanks.