[Solar-talk] _PostCreate _autoCreate ver0.25 ver0.26?
Jeff Surgeson
webdev at 3hex.com
Mon Feb 5 06:26:22 PST 2007
On Monday 05 February 2007 14:49, Rodrigo Moraes wrote:
> By doing a fetch. Any call to fetch*(), insert() etc. will also call
> _connect() and trigger the auto-creation process. The new behavior in
> Solar 0.26 is: "do not try to auto-create right after construction.
> Try it after _connect and if _config['create'] is true".
>
> To have the old behavior back, you need to add _connect() to _setup().
Thanks guys sorry for the slow uptake, it makes sense to only make a db
connection when required and not all the time.
All works as it should with out any changes, when used correctly of course :-)
--
....::::....
Jeff Surgeson
3hex WebDev
More information about the solar-talk
mailing list