mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-15 20:31:16 +08:00
fix formatting for basic usage
This commit is contained in:
parent
54a0d6fc7c
commit
6621822fd2
@ -129,11 +129,12 @@ sqlpp11 requires a certain api in order to connect with the database, see databa
|
||||
__Date Library:__
|
||||
sqlpp11 requires [Howard Hinnant's date library](https://github.com/HowardHinnant/date) for `date` and `date_time` data types.
|
||||
|
||||
Basic usage:
|
||||
-------------
|
||||
__Linux install:__
|
||||
git clone date library, needed connectors, cmake and make install them.
|
||||
|
||||
__Basic usage:__
|
||||
create DDL files (mysql: 'show create table MyTable'), create headers for them with provided python script:
|
||||
create DDL files (like mysql: 'show create table MyDatabase.MyTable', but remove backticks), create headers for them with provided python script:
|
||||
```
|
||||
%sqlpp11_dir%/scripts/ddl2cpp ~/temp/MyTable.ddl ~/temp/MyTable %DatabaseNamespaceForExample%
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user