Commit Graph

105 Commits

Author SHA1 Message Date
Miklós Márton f56ccd7055
Add sum feature (#83)
* Fix possible refering to unallocated memory by using QSharedPointer in
Query::toList

* - Implemented sum field feature
- Fixed SingleField typo
- Added test for sum, and count field feature
- Fixed test case for average field feature
2020-04-03 10:43:38 +04:30
Miklós Márton 89c362f20b
Fix Query::first (#71)
The Query::first fetched all records. Now the limit number is properly
propagated to the SQL generators.

- Optimized limited but not offseted queries in SqliteGenerator
- Implemented limit and offset generation in the MySqlGenerator
- Added test for limited data query
2020-02-08 11:47:08 +03:30
Miklós Márton a88450bf13 - Use SQLite for testing on Linux (#64)
- Fix clang warning about parentheses
2020-01-11 17:48:04 +03:30
Hamed.Masafi 39f03d495d workign on sql server 2019-07-22 18:34:13 +04:30
Hamed Masafi 850434617c datetime test pass by mysql 2019-07-22 12:37:53 +04:30
Hamed Masafi ad808afc6c fix:datetime test pass by postgresql 2019-07-22 11:48:11 +04:30
Hamed Masafi d0249e778f rename some tests 2019-07-21 20:03:06 +04:30
Hamed Masafi 8af5f06727 working for now && compiler in success form 2019-07-19 17:22:52 +04:30
Hamed Masafi e539a1da75 date/time parts added for sqlite 2019-07-07 19:18:20 +04:30
Hamed Masafi 3cee4dae4f sqlite passed tst_datetime 2019-07-07 12:20:49 +04:30
Hamed Masafi f02e409ee2 wip: date time functions 2019-07-06 18:38:40 +04:30
Hamed Masafi 2c4495bfb4 basic test passed 2019-06-26 19:36:44 +04:30
Hamed Masafi f696ffc5c4 working on it 2019-06-22 09:49:06 +04:30
Hamed Masafi 74b2a4524a initial 2019-06-22 01:32:37 +04:30
Hamed Masafi 35eb05ab8e auto generate md file for supported data types [skip ci] 2019-06-19 18:02:30 +04:30
Hamed Masafi ec449b0c8f all supported datatypes in full list markdown [skip ci] 2019-06-19 17:38:09 +04:30
Hamed Masafi 9eacb3e991
Merge branch 'master' into dev 2019-06-19 11:37:43 +04:30
Hamed Masafi dfb5df6af9 merge ok [slip ci] 2019-06-19 11:25:46 +04:30
Hamed Masafi d3b4698b3e fix uuid as primary key on sqlite [skip ci] 2019-06-19 11:22:00 +04:30
Hamed Masafi dc99f3ed01 Workinsg 2019-06-19 01:02:27 +04:30
Hamed Masafi 5e5471fdeb working :-( [skip ci] 2019-06-18 20:07:03 +04:30
Hamed Masafi 5f60b325aa support PostGis types with equal operator [skip ci] 2019-06-08 13:01:23 +04:30
Hamed Masafi d2822e3ef3 polish alpha [skip ci] 2019-06-07 12:49:20 +04:30
Hamed Masafi 370d5234e0 merbe back 2019-06-06 18:38:11 +04:30
Hamed Masafi 070254bd02 continue 2019-06-06 15:32:02 +04:30
Hamed Masafi 27a8908e26 working to remove extra model check [skip ci] 2019-06-06 01:13:36 +04:30
Hamed Masafi ae1ee06f85 wip: remove unneeded TableModel creation 2019-06-05 00:45:30 +04:30
Hamed Masafi 8f8b588e1b Merge branch 'dev' of https://github.com/HamedMasafi/Nut into dev 2019-06-04 00:04:14 +04:30
Hamed Masafi d8b99d04bf working on pgsql 2019-06-03 19:52:21 +04:30
Hamed Masafi 465200821a Json test added 2019-06-03 00:59:44 +04:30
Hamed Masafi bb55b4b743 wip: CONSTRAINT [skip ci] 2019-03-02 19:21:43 +03:30
Hamed Masafi e6b82fe9df fix ci-test-init.pri file path in tests pro file 2019-02-28 13:03:43 +03:30
Hamed Masafi d3f43ca15e init for ci test 2019-02-28 12:58:59 +03:30
Hamed Masafi d906bd81fd remove -=gui from tests 2019-02-28 11:40:41 +03:30
Hamed Masafi 5ac713dd23 Seprate path for win and others for libnut 2019-02-27 14:49:05 +03:30
Hamed Masafi d49fb1013b nut lib path correction 2019-02-27 14:18:35 +03:30
Hamed Masafi 6489d7bad4 another test for travis 2019-02-26 23:38:31 +03:30
Hamed Masafi b22f72374a check travis 2019-02-26 23:21:29 +03:30
Hamed.Masafi deba877e48 msvc2015 compile ok 2019-02-26 19:56:48 +03:30
Hamed.Masafi d5487966dc include lib in tests [skip ci] 2019-02-26 19:37:14 +03:30
Hamed Masafi 2a60f0c00e wip:msvc phrase cast fix 2019-02-26 18:23:57 +03:30
Hamed Masafi 9782d1ff7e remove qml from test units 2019-02-26 15:38:38 +03:30
Hamed Masafi c578676a7f wip: specilization datetime field phrase [skip ci] 2019-02-26 13:28:23 +03:30
Hamed Masafi 058c34d023 seprate file for phrases [skip ci] 2019-02-26 13:17:08 +03:30
Hamed Masafi 6663158085 commands test [skip ci] 2019-02-25 19:46:18 +03:30
Hamed Masafi 762481ba2f mysql passed upgrade test [skip ci] 2019-02-25 18:25:16 +03:30
Hamed Masafi f3748241ff upgrade passed by sqlite [skip ci] 2019-02-16 17:06:38 +03:30
Hamed Masafi a0550b4e65 wip: upgrades test 2019-02-14 17:55:53 +03:30
Hamed Masafi ee82e97777 mysql passed datatypes test 2019-02-13 18:23:42 +03:30
Hamed Masafi 0f32f7af9a readme table 2019-02-12 19:33:22 +03:30