So it can write code to prevent the problem described?
Yes. SQL querying with standard inbuilt anti injection code when retrieving the transactions that it can write itself.
Yes. SQL querying with standard inbuilt anti injection code when retrieving the transactions that it can write itself.