aybbega
3f94b1f02c
Bug: Doesn't compile for Qt 5.6.2 ( #75 )
2020-02-13 19:53:16 +03: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
2f439541a4
Fix RelationModel == operator ( #68 )
...
I assume this was just a copy paste mistake.
2020-01-30 00:58:45 +03:30
Miklós Márton
1ccae27b7e
Fix possible refering to unallocated memory by using QSharedPointer in ( #66 )
...
Query::toList
2020-01-22 12:02:50 +03:30
Miklós Márton
3ca99e372b
When specifying empty condition in the where condition the code pointed ( #61 )
...
to uninitialized memory in the conditionalphrase.cpp 115 line. This
patch fixes it.
2020-01-08 10:29:56 +03:30
Hamed Masafi
b9fa7d9495
add template to template method call
2019-08-04 11:48:15 +04: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
c5c9551e74
some tidy
2019-07-21 19:58:20 +04:30
Hamed Masafi
5dc28f024a
done
2019-07-21 11:41:34 +04:30
Hamed Masafi
a25e94e930
polish query
2019-07-21 11:16:02 +04:30
Hamed Masafi
dfef256598
few tidy
2019-07-20 11:07:08 +04:30
Hamed Masafi
b79f4c88bc
add qDebug()
2019-07-20 09:52:25 +04:30
Hamed Masafi
8af5f06727
working for now && compiler in success form
2019-07-19 17:22:52 +04:30
Hamed Masafi
7871092a81
revert
2019-07-18 12:08:16 +04:30
Hamed Masafi
4e0731f50d
tbc
2019-07-18 11:39:31 +04:30
Hamed Masafi
65b94d363b
try to polish Query::toList
2019-07-17 18:13:30 +04:30
Hamed.Masafi
34f494e674
Nut::Table::d changed to QExplicitlySharedDataPointer
2019-07-17 17:11:33 +04:30
Hamed Masafi
1975ff0027
wip: shared pointer childs for tableset
2019-07-08 19:23:02 +04:30
Hamed Masafi
1c196fe3ef
polish FieldPhrase<QDate/QTime/QDateTime>
2019-07-07 19:42:37 +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
73c5295f6d
removed few comment lines
2019-07-03 18:27:00 +04:30
Hamed Masafi
52937cbcb3
do clear in shared pointer mode
2019-07-02 22:00:29 +04:30
Hamed Masafi
3b39018985
join works on shared pointer mode
2019-07-02 12:23:44 +04:30
Hamed Masafi
04bfecd66e
fix between sql operator
2019-07-02 11:00:49 +04:30
Hamed Masafi
91b1701475
Merge pull request #46 from HamedMasafi/plan/new_macro_model
...
Plan/new macro model
2019-06-26 19:51:45 +04:30
Hamed Masafi
2c4495bfb4
basic test passed
2019-06-26 19:36:44 +04:30
Hamed.Masafi
9413c882dc
do not remove if not count
2019-06-23 18:37:06 +04:30
Hamed Masafi
e3800f44ab
fix; invalid insert command generation
2019-06-22 17:18:35 +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
136c393f6e
#36 misspelling of "foreign" [skip ci]
2019-06-19 14:06:49 +04:30
Hamed Masafi
a199d91135
minor bug fix [skip ci]
2019-06-19 13:54:58 +04:30
Hamed Masafi
6254c11267
Merge branch 'dev' of https://github.com/HamedMasafi/Nut into dev
2019-06-19 13:47:09 +04:30
Hamed Masafi
06d661e4de
minor bug fix [skip ci]
2019-06-19 13:46:55 +04:30
Hamed Masafi
9eacb3e991
Merge branch 'master' into dev
2019-06-19 11:37:43 +04:30
Hamed Masafi
02ab615005
Merge branch 'dev' into wip/shared_pointer
2019-06-19 11:31:46 +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
251fc50d53
recover sql model invalid line [skip ci]
2019-06-19 09:47:10 +04:30
Hamed Masafi
dc99f3ed01
Workinsg
2019-06-19 01:02:27 +04:30
Hamed Masafi
b3193cf1c6
some shared pointer [skip ci]
2019-06-18 20:41:26 +04:30
Hamed Masafi
5e5471fdeb
working :-( [skip ci]
2019-06-18 20:07:03 +04:30
Hamed Masafi
e946a54753
initial
2019-06-18 18:10:40 +04:30
Hamed Masafi
e659190f4a
travis test
2019-06-08 16:46:25 +04:30
Hamed Masafi
357634edb6
create custom object in query
2019-06-08 13:10:00 +04:30
Hamed Masafi
5f60b325aa
support PostGis types with equal operator [skip ci]
2019-06-08 13:01:23 +04:30