From cc720c5738e65cb1add61c56985f19c5a1d40112 Mon Sep 17 00:00:00 2001 From: Roland Bock Date: Sat, 9 Jul 2016 20:18:34 +0200 Subject: [PATCH] Updated README, added link to Ruby code generator. --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4d1c69c8..cdeb231c 100644 --- a/README.md +++ b/README.md @@ -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: -------------