Skip to content
Permalink
Branch: master
Commits on Jan 23, 2019
  1. Merge pull request #12921 from cakephp/issue-12920

    lorenzo committed Jan 23, 2019
    Fix warnings on complex keys
Commits on Sep 14, 2018
  1. Merge pull request #12564 from cakephp/josegonzalez-patch-1

    lorenzo committed Sep 14, 2018
    Switch from master/slave in datasource readme
Commits on Sep 6, 2018
  1. Merge pull request #12534 from cakephp/collection-last-n

    lorenzo committed Sep 6, 2018
    Implemented a new takeLast() method in Collection
Commits on Sep 5, 2018
  1. Fixed example

    lorenzo committed Sep 5, 2018
  2. Fixed mistake

    lorenzo committed Sep 5, 2018
  3. fixed typo

    lorenzo committed Sep 5, 2018
  4. Added a collection lazy() method

    lorenzo committed Sep 5, 2018
    Since cake 3.6 collections are not entirely lazy anymore. This is
    because in the greate majority of cases, running the computations
    eagerly is faster than doing it on demand.
    
    This assumption fails, though, when the computations are very intensive
    or when you actaully only need a handful of elements anyways. In order
    to get this feature back, I'm introducing the `lazy()` method. It will
    make sure that computations only happen on demand.
    
    I feel that this give more power to the developer who's trying to find
    the most performant way of traversing a set of results.
  5. Rename to takeLast

    lorenzo committed Sep 5, 2018
  6. Adding an explanation to the dense implementation of lastN

    lorenzo committed Sep 5, 2018
Commits on Sep 4, 2018
  1. Fixed code for lastN when passing a countable

    lorenzo committed Sep 4, 2018
Commits on Sep 3, 2018
  1. Implemented a new lastN() method in Collection

    lorenzo committed Sep 3, 2018
    closes #12531
Commits on Aug 26, 2018
  1. Fixed cod block

    lorenzo committed Aug 26, 2018
  2. Fixed typos

    lorenzo committed Aug 26, 2018
Commits on Aug 25, 2018
  1. Fixed mistake

    lorenzo committed Aug 25, 2018
  2. Improved the ORM Readme

    lorenzo committed Aug 25, 2018
Commits on Aug 23, 2018
  1. Merge pull request #12496 from ndm2/issue/callable-support-hints

    lorenzo committed Aug 23, 2018
    Add missing callable support hints for `Query::select()` and `Query::order()`.
Commits on Jul 16, 2018
  1. Merge pull request #12361 from cakephp/issue-12346

    lorenzo committed Jul 16, 2018
    Remove @throws tags from I18n functions.
Commits on Jul 7, 2018
  1. Merge pull request #12336 from cakephp/4x-backports

    lorenzo committed Jul 7, 2018
    4x backports
Commits on May 20, 2018
  1. Merge pull request #12105 from cakephp/issue-12079

    lorenzo committed May 20, 2018
    Improve field quoting a bit and use simpler patterns
Commits on May 17, 2018
  1. Fix empty QueryExpression objects being converted as SQL

    lorenzo authored and markstory committed May 15, 2018
    Using the `or_()` function already produced and enpty expression object
    when passed an empty array. It makes sense to do the same when using the
    equivalent array notation
    
    fixes #12081
Commits on May 15, 2018
  1. Fix empty QueryExpression objects being converted as SQL

    lorenzo committed May 15, 2018
    Using the `or_()` function already produced and enpty expression object
    when passed an empty array. It makes sense to do the same when using the
    equivalent array notation
    
    fixes #12081
Commits on May 5, 2018
  1. Merge pull request #12049 from cakephp/issue-12038

    lorenzo committed May 5, 2018
    Add identifier quoting for fields with spaces.
Commits on May 4, 2018
  1. Merge pull request #12031 from cakephp/issue-12030

    lorenzo committed May 4, 2018
    Load routing in console environments.
Commits on Apr 25, 2018
  1. Merge pull request #11992 from cakephp/email-deprecation

    lorenzo committed Apr 25, 2018
    Add warnings that were missed before.
Commits on Apr 17, 2018
  1. Merge pull request #11954 from cakephp/issue-11932

    lorenzo committed Apr 17, 2018
    Fix mismatched URL comparisions in SecurityComponent.
Commits on Apr 12, 2018
  1. Merge pull request #11904 from cakephp/fix-appveyor

    lorenzo committed Apr 12, 2018
    Attempt to fix the failing appveyor builds.
Commits on Apr 9, 2018
  1. Merge pull request #11903 from cakephp/3.next-where-null

    lorenzo committed Apr 9, 2018
    Adding whereNotNull() and whereNull() to the Query object
Commits on Apr 2, 2018
  1. Merge pull request #11899 from chinpei215/mutable-datetime-issue

    lorenzo committed Apr 2, 2018
    Fix toDatabase() to work with non-DateTimeImmutable properly
  2. Merge pull request #11897 from cakephp/issue-11880

    lorenzo committed Apr 2, 2018
    Don't mutate ExistsIn fields.
Commits on Apr 1, 2018
  1. Merge pull request #11887 from cakephp/cake-version-travis

    lorenzo committed Apr 1, 2018
    add cakephp version into travis
Commits on Mar 22, 2018
  1. Merge pull request #11863 from cakephp/issue-11818

    lorenzo committed Mar 22, 2018
    Fix nested entity expansion.
Commits on Mar 20, 2018
  1. Merge pull request #11786 from cakephp/collection-count

    lorenzo committed Mar 20, 2018
    Adding count() and countKeys() to Collection
Commits on Mar 5, 2018
  1. Merge pull request #11788 from cakephp/fix-batch-casting

    lorenzo committed Mar 5, 2018
    Fixing batch casting
  2. Fixing batch casting

    lorenzo committed Mar 5, 2018
Commits on Mar 4, 2018
  1. Adding count() and countKeys() to Collection

    lorenzo committed Mar 4, 2018
    Not having these is honestly surprising to many. Instead of trying to be always correct
    by not having the method, provide it as an "advanced" feature with strings attached.
    
    I've added a long section of warnings on when `count()` will be maybe not be what you need.
Older
You can’t perform that action at this time.