mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-16 04:47:18 +08:00
Merge branch 'master' of https://github.com/rbock/sqlpp11
This commit is contained in:
commit
6b284668b8
@ -157,16 +157,15 @@ mysql: 'show create table MyDatabase.MyTable' #or
|
||||
mysqldump --no-data MyDatabase > MyDatabase.sql
|
||||
|
||||
```
|
||||
Create headers for them with provided python script:
|
||||
Create headers for them with provided Python script:
|
||||
```
|
||||
%sqlpp11_dir%/scripts/ddl2cpp ~/temp/MyTable.ddl ~/temp/MyTable %DatabaseNamespaceForExample%
|
||||
```
|
||||
(In case you're getting notes about unsupported column type take a look at the other datatypes in sqlpp11/data_types. They are not hard to implement.)
|
||||
|
||||
Include generated header (MyTable.h), that's all
|
||||
|
||||
|
||||
Include generated header (MyTable.h), that's all.
|
||||
|
||||
If you prefer Ruby over Python, you might want to take a look at https://github.com/douyw/sqlpp11gen
|
||||
|
||||
License:
|
||||
-------------
|
||||
|
Loading…
Reference in New Issue
Block a user