Commit Graph

21 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 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 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 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 d8b99d04bf working on pgsql 2019-06-03 19:52:21 +04:30
Hamed Masafi bb55b4b743 wip: CONSTRAINT [skip ci] 2019-03-02 19:21: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 d5487966dc include lib in tests [skip ci] 2019-02-26 19:37:14 +03:30
Hamed Masafi 9782d1ff7e remove qml from test units 2019-02-26 15:38:38 +03:30
Hamed Masafi 177fb6808c wip: postgres data types [skil ci] 2019-02-10 20:03:14 +03:30
Hamed Masafi 4ea071836b tests renamed [skip ci] 2019-02-10 17:57:29 +03:30
Hamed Masafi a6e1dd932d a few clazy-ing [skip ci] 2019-02-10 17:41:22 +03:30
Hamed Masafi 6f31c4e6b9 teste 2019-02-08 12:41:53 +03:30
Hamed Masafi f5c10e8759 subdirs 2019-02-08 12:09:24 +03:30