vendredi 25 octobre 2019

Why Laravel gives wrong result query?

$groups = Groups::where("min", '>=', $result->Z)->where("max", '<=', $result->Z)->orderBy('min')->get();

Where $result->Z is 52.850294770880225.

So, I should get row:

4 | 47.01 | 52.99 | 0

enter image description here

Instead empty:

Collection {#631 ▼
  #items: []
}


from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/31Ohu6u
via IFTTT

Aucun commentaire:

Enregistrer un commentaire