From 6ae5df8a85cd0344cc12effe788f7e09d06df372 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 26 Apr 2011 09:17:15 +0200 Subject: Add note on embedded schemas --- qt/README | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'qt/README') diff --git a/qt/README b/qt/README index ac0f38c..99ec974 100644 --- a/qt/README +++ b/qt/README @@ -50,8 +50,10 @@ driver.cxx the driver performs a database query which uses data member of the Qt QString and QDate types in its criterion. -To run the example we first need to create the database schema. Using MySQL -as an example, this can be achieved with the following command: +To run the example we may first need to create the database schema (for some +database systems, such as SQLite, the schema is embedded into the generated +code which makes this step unnecessary). Using MySQL as an example, this +can be achieved with the following command: mysql --user=odb_test --database=odb_test < employee.sql -- cgit v1.1