- تاریخ ثبتنام
- 2020-06-26
- نوشتهها
- 21,417
- راهحلها
- 27
- پسندها
- 3,264
- امتیازها
- 113
- سن
- 27
- محل سکونت
- England
- وب سایت
- xenforo.xyz
I just converted a query over to finder and the query works all but one thing, it puts the indexed ID as the array key rather than assigning these as 0+
so I would expect a results of
Code:
instead what it appears to do is us the ID
Code:
that works well if I am just going to loop through those results, however in my results for this I am looking at specific key values which would look something like
Code:
so I would expect a results of
Code:
$finder->0>whatever
instead what it appears to do is us the ID
Code:
that works well if I am just going to loop through those results, however in my results for this I am looking at specific key values which would look something like
Code:
...
نام موضوع : Avoiding having to do foreach with finder?