Commit Graph

76 Commits

Author SHA1 Message Date
Uwe Steinmann
0d43c618cd getCurrentDatetime() takes parameter for day offset 2021-02-11 12:23:35 +01:00
Uwe Steinmann
5a30032375 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-01-08 12:00:36 +01:00
Uwe Steinmann
40adb027db new method hasTable(), beautify some sql statements 2021-01-04 21:45:16 +01:00
Uwe Steinmann
48cf4b2ff3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-01-15 09:13:23 +01:00
Uwe Steinmann
8545b89d95 log file pointer can be set by calling a method 2019-01-11 09:17:26 +01:00
Uwe Steinmann
8f62039994 do not use views 2018-04-12 12:33:06 +02:00
Uwe Steinmann
6ad630edf4 turn of views as default 2018-02-13 17:07:45 +01:00
Uwe Steinmann
5d51f18c5b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-02-08 14:26:36 +01:00
Uwe Steinmann
3e5d744d6d Merge commit '10896ca183a4fa0b30c02fca8831d2f5497e6a76' into seeddms-5.1.x 2018-02-08 09:25:45 +01:00
Uwe Steinmann
8af798fe86 views instead of temp. tables can be used 2017-11-21 11:28:49 +01:00
Jörg Neugebauer
fd5f341cb9 SeedDMS_Core 2017-11-08 13:54:49 +01:00
Uwe Steinmann
c953d02604 views instead of temp. tables can be used
This speeds up many sql statements for mysql and pgsql
2017-07-27 12:34:46 +02:00
Uwe Steinmann
752f4e8760 take out order by in temp. tables 2017-07-26 12:14:56 +02:00
Uwe Steinmann
a8a939cb3d Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-07-17 17:59:56 +02:00
Uwe Steinmann
9ea079d580 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-07-17 17:58:46 +02:00
Uwe Steinmann
de6564c7e9 fix sql statement for creating temp. tables ttreviewid and ttapproveid 2017-07-17 17:57:01 +02:00
Uwe Steinmann
3fd1dfe87a fix sql for creating temp table ttreviewid and ttapproveid 2017-07-17 17:52:19 +02:00
Uwe Steinmann
99682a11d1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-10 07:50:33 +02:00
Uwe Steinmann
0e2b8df36b fix sql statement to create temp table ttrevisionid and ttreceiptid 2017-07-05 10:45:12 +02:00
Uwe Steinmann
8531371f67 also take out ORDER BY in temp. tables for pgsql driver 2017-06-28 15:29:17 +02:00
Uwe Steinmann
1db5675990 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-06-28 15:27:50 +02:00
Uwe Steinmann
4a590ef8e4 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-06-28 15:11:29 +02:00
Uwe Steinmann
a2fc405eae do not sort some temp. tables anymore
it causes an error if sql_mode=only_full_group_by is set in mysql
2017-06-28 14:59:29 +02:00
Uwe Steinmann
72c5bd237b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-03-23 18:48:45 +01:00
Uwe Steinmann
6a7e23375c Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-23 18:08:23 +01:00
Uwe Steinmann
a001d32854 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-03-23 17:43:39 +01:00
Uwe Steinmann
4265c965de log all sql statements into file if log file is given 2017-03-23 17:27:31 +01:00
Uwe Steinmann
6bb6662de4 start new version 4.3.35 2017-03-23 15:39:18 +01:00
Uwe Steinmann
fa5721c2cb Merge branch 'seeddms-6.0.x-postgres' into seeddms-6.0.x 2017-02-20 17:38:35 +01:00
Uwe Steinmann
4c794381e6 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-02-20 17:34:43 +01:00
Uwe Steinmann
283c51b193 print_r detailed error msg 2017-02-20 17:11:37 +01:00
Uwe Steinmann
a18b3c6879 add sql statement for pgsql in TableList() 2017-02-20 17:11:37 +01:00
Uwe Steinmann
bfbd845bab add sql code for creating temp tables ttreceiptid and ttrevisionid 2017-02-20 17:11:37 +01:00
Uwe Steinmann
50919f40c1 add sql for creating temp tables ttreviewid and ttapproveid 2017-02-20 17:11:37 +01:00
Uwe Steinmann
1a03adebbd add create of temp table ttstatid 2017-02-20 17:11:37 +01:00
Uwe Steinmann
2c775b560f add creation of temp table ttcontentid 2017-02-20 17:11:37 +01:00
Uwe Steinmann
7467df155d fix getInsertID() for identifier in upper/lower case 2017-02-20 17:11:37 +01:00
Uwe Steinmann
0239edd4ee adjust date function to postgresql 2017-02-20 17:11:37 +01:00
Uwe Steinmann
c55b595ae9 pass tablename to getInsertID(), add pgsql as new db driver 2017-02-20 17:11:37 +01:00
Uwe Steinmann
a5e984587d add getDriver() which returns the database driver 2017-02-18 07:37:45 +01:00
Uwe Steinmann
e320d4a376 add sql statement for pgsql in TableList() 2017-02-16 15:27:01 +01:00
Uwe Steinmann
ff486fdcd9 fix sql error 2017-02-16 15:27:01 +01:00
Uwe Steinmann
0cf35641d1 add sql for creating temp tables ttreviewid and ttapproveid 2017-02-16 15:27:01 +01:00
Uwe Steinmann
3da6d66ee1 add method castToText()
it takes a fieldname and returns it with a cast to 'text'
2017-02-16 15:27:01 +01:00
Uwe Steinmann
e020ebaf39 add create of temp table ttstatid 2017-02-16 15:27:01 +01:00
Uwe Steinmann
20491cd8e3 add creation of temp table ttcontentid 2017-02-16 15:27:01 +01:00
Uwe Steinmann
7ebd92d53a add '"' arount sequence in getInsertID() 2017-02-16 15:27:01 +01:00
Uwe Steinmann
3bfeba738f adjust date function to postgresql 2017-02-16 15:27:01 +01:00
Uwe Steinmann
307abdf493 pass tablename to getInsertID(), add pgsql as new db driver 2017-02-16 15:27:01 +01:00
Uwe Steinmann
e58f0888b5 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-14 09:06:23 +01:00