Creating Dynamic attributes from MongoDB collection - YII Framework
-
21-12-2019 - |
Question
I am trying to create dynamic attributes from MongoDB Collection object name in YII framework. I am using YIIMongoDBSuite extension can anybody provide idea for this ?
Solution
Instead of Using save()
function of EmongoDocument
use insert and pass parameter so that it will save the attributes what ever you pass.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow