mirror of
https://github.com/rbock/sqlpp11.git
synced 2026-01-04 12:10:43 -06:00
fix formatting for basic usage
This commit is contained in:
@@ -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%
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user