Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
I need to store some arrays as plaintext in a database. I have to store an array in database, as it seems the best idea to me (it's basically some parameters to send with an URL request).
For now, I'm using FUSE and
However, I can't
What about adding an export hook so that such weird datatypes could be handled by the Model before storage and export ?
P.S.: Perhaps I misunderstood the idea behind Redbean models. In fact, I'd like to have my model automatically handling serialization and unserialization of complex objects, and not having to take care of this myself, when feeding the model. :)
This is to store some RSS feeds.
Then, when I want to pretty print it, I use the following snippet.
I also tried using
However, if I don't tweak my bean model to handle arrays, it works nicely.
Feel free to ask me if you need more infos.
EDIT: I had a deeper look and this is due to the function member