In my activepivot solution, I have a store containing the desk and the currency for each trade.
For example:
- 1, eur, DeskA, 10
- 2, eur, DeskB, 18
- 3, gbp, DeskA, 17
- 4, usd, DeskA, 54
I have a lot of queries where I want to find all the records that contain deskA and a particular but changing currency.
To execute those three queries :
- DeskA, eur
- DeskA, usd
- DeskA, gbp
I would use a prepared statement to avoid parsing the query many times. Is there any equivalent in activepivot ?