Ticket #65 (closed defect: fixed)
Predicate short-coming
| Reported by: | aclark | Owned by: | tsnorri |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | BaseTen | Keywords: | |
| Cc: |
Description
I'm trying to execute a fetch using a predicate that specifies conditions on joined tables fields.
This is parsing down to this SQL:
SELECT "order_id", "notes", "order_date", "po_number", "received", "supplier_id" FROM "public"."orders"
WHERE (("po_number") ~* ($1)) OR (("supplier"."supplier_name") ~* ($2))
Of course, I get an error when this gets to the database since the "supplier" table wasn't listed in the FROM clause. I've been experiencing some issues with relationship names, but that's for another bug report.
Change History
Note: See
TracTickets for help on using
tickets.
