.with() on a .get() that returns no entities will throw a SQL error

Description

Quick 2.5.4, qb 7:

If you have a scope or some query logic that returns an empty recordset, but attach a with() call, e.g.

QB will throw an error because it is trying to run a query like:

Environment

None

Assignee

Eric Peterson

Reporter

Samuel W. Knowlton

Labels

None

Priority

Major
Configure