Sep 10, 2014; 13:44
Ke Carlton
New version of Datasource (DS) released.
Hello all,
There's been a few changes to DS over the last month or so.
I would recommend upgrading when able.
WARNING
---------------
There's a fairly major behavioural change in this release. Previously only
dates were converted to strings before being written to the data source.
Now, any unrecognised type will be converted to a string before being
written to the data source. The recognised types are: integer, decimal,
string, bytes, null and void (becomes null).
If you are writing types to your data source you will need to take this
into consideration prior to updating. Essentially asString will be called
on all non-recognised types prior to insert / update.
General Changes
-------------------------
Tidied up support for statements from ds:
ds->select(::id,::test)->from(::table)->where(::id = 1)->rows
ds->update(::table)->set(::this = 'that')->where(::id = 1)
ds->insert(::intothistable,::col1,::col2)->values(array(1,2)))
Activerow
--------------
Added support for activerow(::database.table, keyvalue/s) signature.
Added support for activerow(::ds, keyvalue/s) signature.
Added getrow method to load a row into the type (and return the type)
Added raw method for directly access to unmodified values
Improved support for oncreate relays, ie. public oncreate(...) =>
...oncreate(::#rest)
Statements
-----------------
Added IGNORE support to insert statements, insert->ingore(true)
Improved behaviour of ->addrow(::map) for insert statements
Corrected issues with select + update statements
Corrected ds->select method without params
Threads
------------
Corrected a number of critical issues with thread objects (and potentially
CLI).
Best regards,
Ke
#############################################################
Attend the Lasso Developer Conference 2014!
October 1-3, 2014 at Treefrog HQ, Newmarket, Ontario, Canada
http://www.lassosoft.com/LDC-newmarket-2014
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso Lasso@lists.lassosoft.com
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Sep 09, 2014; 19:46
deco rior
Re: New version of Datasource (DS) released.
Sep 10, 2014; 08:22
Jolle Carlestam
Re: New version of Datasource (DS) released.
Sep 10, 2014; 19:47
Ke Carlton
Re: New version of Datasource (DS) released.