PDO::FETCH_DEFAULT
is now used only if previously definedPublished by cbornhoft almost 3 years ago
Published by cbornhoft over 3 years ago
Published by cbornhoft over 3 years ago
Query::debug()
can now be declared as a Closure or anonymous function without producing an "undefined method" errorPublished by cbornhoft about 4 years ago
null
values will no longer be removed from the parameter list.Query::debug
now defaults to false
to avoid accidental implicit "truthy" valuesPublished by cbornhoft almost 6 years ago
Published by cbornhoft about 6 years ago
Published by cbornhoft about 6 years ago
Published by cbornhoft about 6 years ago
It's live and ready for use! 2.0 is now officially released.
Published by cbornhoft about 6 years ago
Features
$index
in Select::fetchAll()
with array syntax to group rows by the field selection: $result->fetchAll('field[]');
Miscellaneous
Published by cbornhoft about 6 years ago
Please use this release in your projects. All tests are passing, and we do not foresee any major problems. Issues will be resolved quickly. Our goal is to release 2.0.0 and have it production ready in 1 week.
Major Changes
Features
->select(null)
!!! You can now select individual columns by specifying an overwrite request: $fluent->from('table')->select('table.id', true)
->where('1')
Code Improvements
Base::execute()
Miscellaneous
Published by cbornhoft about 6 years ago
Features
.
) and colons (:
) can now be escaped with a backslash (\
) to prevent a smart join on a statement! This is helpful if you don't want to disable smart joining entirely. In addition, Fluent will remove the backslashes for you before running the final query.Miscellaneous
Published by cbornhoft about 6 years ago
Features
Json
class for future JSON functionsBug Fixes
Regex
function name inside Base::debug()
Miscellaneous
Published by cbornhoft about 6 years ago
Features
Code Improvements
Miscellaneous
Published by cbornhoft about 6 years ago
Features
OR
statements in WHERE
clauses are now supported!Update::set()
where()
will now build correctly (id IN (?, ?, ?) -> [1, 2, 3]
)Code Improvements
WHERE
now has its own method for query buildingMiscellaneous
Published by cbornhoft about 6 years ago
Major Changes
Features
Code Improvements
Miscellaneous
Published by cbornhoft about 6 years ago
Code Improvements
Miscellaneous
Published by cbornhoft over 6 years ago
Bug Fixes
Add PHP 7.2 functionality by ensuring counting is performed only on Countable data. (#240)
Published by cbornhoft almost 7 years ago
Major Changes
Code Improvements
Miscellaneous
Published by cbornhoft about 7 years ago
The following changes have been made to this release:
Bug Fixes
FluentUtils::FormatQuery()
no longer accidentally splits words that are not keywords (ALEJ AND RO)FluentLiteral
in where()
statements are now taken literally (#213)Code Improvements
E_USER_ERROR
is now thrown when __call()
does not recognize the method name (to prevent typos from going unnoticed) (#214)SET
, OUTER
and FULL
are now classified as keywordsMiscellaneous