Uploaded image for project: 'PHP ORMs'
  1. PHP ORMs
  2. PHPORM-100

Support filter on numeric field name

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Unknown Unknown
    • laravel-4.1.0
    • Affects Version/s: None
    • Component/s: Laravel
    • None

      When searching on a numeric field name, the field name is converted to a sequential int.

       

      User::where(123, 'foo') generates find([0 => 'foo']) instead of find([123 => 'foo'])

            Assignee:
            jerome.tamarelle@mongodb.com Jérôme Tamarelle
            Reporter:
            jerome.tamarelle@mongodb.com Jérôme Tamarelle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: