0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-16 12:51:13 +08:00
sqlpp11/tests/scripts
Carel babd420ecb
ddl2cpp command line argument for custom types (#491)
* ddl2cpp command line argument for custom types

- Updated the ddl2cpp script to allow custom/extended types through external csv file
- Had to re-order the script to allow the command line to be parsed before setting up the parser
- Updated README

* Test for the command line argument

- Script test only for now

* Test the custom type argument

- Firs a negative test
- Last a positive test and compile test against the generated output

* Expand the test

- Ensure built in types still work
- Check capitilisation
- Ensure more than one custom works
- Check type with spaces

---------

Co-authored-by: Carel Combrink <carel.combrink@vastech.co.za>
2023-06-22 07:06:00 +02:00
..
CMakeLists.txt ddl2cpp command line argument for custom types (#491) 2023-06-22 07:06:00 +02:00
custom_types.csv ddl2cpp command line argument for custom types (#491) 2023-06-22 07:06:00 +02:00
ddl2cpp_sample_bad.sql Streamline test names and locations 2021-10-11 10:31:25 +02:00
ddl2cpp_sample_good_custom_type.cpp ddl2cpp command line argument for custom types (#491) 2023-06-22 07:06:00 +02:00
ddl2cpp_sample_good_custom_type.sql ddl2cpp command line argument for custom types (#491) 2023-06-22 07:06:00 +02:00
ddl2cpp_sample_good.sql Added OR REPLACE clause 2022-04-25 06:37:40 +02:00
sample_identity_naming.cpp Streamline test names and locations 2021-10-11 10:31:25 +02:00
sample.cpp Streamline test names and locations 2021-10-11 10:31:25 +02:00