View Single Post
  #9  
Old 10-03-2019, 04:27 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: "Fake" orders (or how do a cart become an order ?)

Yes. The DescriminatorColumn defines the column in the table and the DescriminatorMap maps its value to class.


So if you need only non-orders create new query with placeOnly equal false.


Alternatively you can just decorate the Order model class and add another field for your own use - if true it is your fake order. Then use it in a query to find your own records.
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote