v0.5.0
API broken changes
CodeLapse\Database\Connection\*
classes stops return false
when detect database operation errors.
From now on, Connection classes throws CodeLapse\Database\DBException
on detect database error (ex, PDO::query returns false, catch the Exception).
And when operation successful, some methods not return true
.
Many of the methods were no longer return a value.
(if error, throws Exception, not then, It will quietly continue process.)
Related methods
CodeLapse\Database\Connection
useDB
,setCharset
,query
,startTransaction
,commit
,rollback
lastInsertId: int
,quote: string