0
0
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:
“digitalist.ru” 2016-03-19 21:19:15 +03:00
parent 54a0d6fc7c
commit 6621822fd2

View File

@ -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%
```