leaf

Results 381 comments of leaf
trafficstars

You would have to provide this functionality yourself. A potential solution would be to use `self.route_name` to return early in your before filter

It's not possible to do it with `model:create`, the easiest way would be to manually write a query. You can also do a `begin` `commit` transaction to bundle separate inserts...

> Maybe it's a good idea for create to also accept array as first argument? Would a pull request with such improvement be useful? It's pretty common to override create...

Hey all, sorry I haven't gotten a chance to update the project in a while. I decided that I'm just going to deploy what I had and not sit on...

At the moment we don't have any special accommodation for transactions, you would need to write any necessary queries yourself. Keep in mind the code you wrote above can leave...

The database connection has its own state independent of your application code, so it's a matter of either manually synchronizing the state between connection and your application (which can be...

@Guard13007 there are some wip docs for flows here: https://github.com/leafo/lapis/blob/master/docs/flows.md

Thanks for the report. Do those notes always not work, or can you generally get through? I tried testing both of those notes individually with the same configuration you have...

also probably the same bug: #12

lapis currently only runs in openresty, which requires luajit (which is mostly 5.1, but with some newer features built in) I have plans to decouple the server backend so it...