Is there any solution yet to make oil scaffolding (--crud) work with mongodb out of the box? It seems like it should be fairly easy...

Along with that question, I wonder if I can set mongodb as default connection under 'default' - seems like there is not much written about fuelphp and mongodb.

Update: This was recently posted as a little workaround:

有帮助吗?

解决方案

You will need to create a new oil template for that. You can copy the code in oil/views/scaffolding and there are two existing templates, orm and crud. Make a mongo one if you like and set the code up to work however you like.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top