Commit Graph

47 Commits

Author SHA1 Message Date
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
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
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
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
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
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
f976bf0e83 check if temp table ttcontentid exists in sql statement 2017-02-14 07:15:14 +01:00
Uwe Steinmann
2f0cb09e31 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-09 17:49:21 +01:00
Uwe Steinmann
fd5b5034db add method rbt() 2017-02-09 16:45:58 +01:00
Uwe Steinmann
4196e11792 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-07-04 21:13:41 +02:00
Uwe Steinmann
0afbcc73d8 fix some sql statements to work with mysql 5.7.5 (Closes: #273) 2016-07-04 09:11:50 +02:00
Uwe Steinmann
0577fec1ba Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-03-22 15:11:42 +01:00
Uwe Steinmann
826c9fca72 use __construct for constructor 2016-03-22 15:08:36 +01:00
Uwe Steinmann
1d626fc7e5 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2015-09-28 14:53:46 +02:00
Uwe Steinmann
33c5e313d0 do not pass parameter 'localtime' to strftime() 2015-09-28 13:25:00 +02:00
Uwe Steinmann
c3296e476b Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2015-09-22 07:57:54 +02:00
Uwe Steinmann
4ffa4399a2 add getCurrentDatetime() and getCurrentTimestamp()
getCurrentTimestamp() used return the sql statement for a datetime
2015-09-22 07:48:49 +02:00
Uwe Steinmann
272d9a43ee Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2015-09-21 18:10:07 +02:00
Uwe Steinmann
8295cde1e7 add getCurrentTimestamp() to database driver
will return datetime('now', 'localtime') for sqlite because otherwise
it will return GMT
2015-09-21 18:08:05 +02:00
Uwe Steinmann
156ec69355 fix documentation error 2015-07-15 08:21:28 +02:00
Uwe Steinmann
e01ec020ab add example on how to activate strict sql mode for mysql 2014-05-22 07:47:40 +02:00
Uwe Steinmann
e807628eda add optional parameter $format to getDateExtract() 2014-04-09 09:23:33 +02:00
Uwe Steinmann
151c3dd8f2 add new method getDateExtract() 2014-04-08 15:27:51 +02:00
Uwe Steinmann
b07869a3bb check for database port behind hostname 2014-01-28 08:10:47 +01:00
Uwe Steinmann
115039718e turn on foreign key constraints for sqlite3 2013-06-07 21:48:51 +02:00
Uwe Steinmann
0caec4d9be TableList() returns now a list for mysql 2013-02-14 14:35:44 +01:00
Uwe Steinmann
73c6ff9427 major name change from letodms to seeddms 2013-02-14 12:10:53 +01:00