query wont even pass to database

hello all, having some weird trouble with an active record query returning null. can anyone take a look.


$seatPlanRows = SeatPlan::find()

->select('rowIdent') 

->where( [ 'seatPlanHeaderId' => $this->seatPlanHeaderID, ] ) 

->distinct() 

->orderBy(['rowIdent' => SORT_ASC,]);

When I run profiler it looks like this query isn’t even being passed to the DB???

solved it!


$seatPlanRows = SeatPlan::find()

		->select('rowIdent')

		->where( [ 'seatPlanHeaderId' => $this->seatPlanHeaderID ] )

		->distinct()

		->orderBy('rowIdent')

		->all();

It’s been a long day! LOL