qt5base-lts/tests/auto/sql/kernel
Lorenz Haas 2a3297c726 REGEXP for SQLite
Since SQLite does not define a regexp function by default, provide a Qt
based implementation which can be enabled using QSQLITE_ENABLE_REGEXP as
an connect option. This way statements like

SELECT * FROM table WHERE col REGEXP '^[a-d]';

work out of the box.

[ChangeLog][QtSql] Add QSQLITE_ENABLE_REGEXP connect option for
QSQLiteDriver. If set a Qt based regexp() implementation is provided
allowing to use REGEXP in SQL statements.

Task-number: QTBUG-18084
Change-Id: I7f0e926fe4c5d6baea509f75497f46a61ca86679
Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
Reviewed-by: Jesus Fernandez <Jesus.Fernandez@qt.io>
Reviewed-by: Sebastian Sauer <sebastian.sauer@kdab.com>
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
2017-02-22 21:14:23 +00:00
..
qsql tst_qsql.cpp: Remove deprecated module include 2016-11-25 09:55:21 +00:00
qsqldatabase REGEXP for SQLite 2017-02-22 21:14:23 +00:00
qsqldriver QSql tests: Remove Windows CE and clean up code. 2016-03-10 15:07:02 +00:00
qsqlerror Updated license headers 2016-01-21 18:55:18 +00:00
qsqlfield Updated license headers 2016-01-21 18:55:18 +00:00
qsqlquery tst_qsqlquery.cpp: Refactor runIntegralTypesMysqlTest() 2016-12-05 12:06:39 +00:00
qsqlrecord Updated license headers 2016-01-21 18:55:18 +00:00
qsqlresult Updated license headers 2016-01-21 18:55:18 +00:00
qsqlthread QSql tests: Remove Windows CE and clean up code. 2016-03-10 15:07:02 +00:00
kernel.pro SQL: Change in QSqlResultPrivate::positionalToNamedBinding() 2012-12-10 21:23:35 +01:00