Create "Macro" functionality for TSQLQuery
Original Reporter info from Mantis: zgabrovski
-
Reporter name: Zdravko Gabrovski
Original Reporter info from Mantis: zgabrovski
- Reporter name: Zdravko Gabrovski
Description:
During the port of my existing D5/D7 project to Lazarus/fpc, I found, that will be good to implement "Macros" inside TSQLQuery component.
Macroses exists inside old good TRxQuery components, and gives the ability to manipulate very easy SQL by a params-similar Collection, called "Macros".
To preserve backward compatibility, macroses are disabled by default. You must enable via "MactoCheck" = true.
You can set macro prefix char via "MacroChar" property, which is defaulted to "true".
Steps to reproduce:
New functionality
Additional information:
Macroimpl.diff cintains svn diff file.
allfilestmacroimpl.7z contains full source code.
Mantis conversion info:
- Mantis ID: 36057
- OS: all
- OS Build: all
- Build: Trunc
- Platform: all
- Version: 3.3.1
- Fixed in version: 4.0.0
- Fixed in revision: 43003 (#f4921dae)