Hamed Masafi
85d5e07a3c
fix: extra libs declartion in android build
2020-07-29 10:49:16 +04:30
Hamed Masafi
71eb594d01
update serializer submodule
2020-07-29 10:00:29 +04:30
Hamed Masafi
e9a6dcf036
restore back ios build in actions
2020-07-29 09:58:43 +04:30
Hamed Masafi
bd0643b920
fix: lib name for android build
2020-07-29 09:57:11 +04:30
Hamed Masafi
46dd164618
Merge branch 'master' into dev
2020-07-29 09:36:04 +04:30
Hamed Masafi
4982742925
remove unneeded files
2020-07-29 09:34:45 +04:30
Hamed Masafi
cd8f8af922
fix: upload name in build workflow
2020-07-29 09:30:12 +04:30
Hamed Masafi
25787b6565
Merge branch 'master' of https://github.com/HamedMasafi/Nut
2020-07-29 09:26:45 +04:30
Hamed Masafi
46846ae24f
ci 3
2020-07-28 18:38:46 +04:30
Hamed Masafi
db24b160fb
ci
2020-07-28 18:36:40 +04:30
Hamed Masafi
8a74db4e14
Update qt.yml
2020-07-28 17:32:13 +04:30
Hamed Masafi
c8b8b0d2b5
Dev ( #104 )
...
* appveyor fixed [skip ci] (#52 )
* update appveyor
* update appveyor
* update appveyor
* update appveyor
* update appveyor
* update appveyor
* update appveyor
* update appveyor
* remove % from variable name
* add cotation to variable call
* path correction
* path correction
* path correction
* path correction
* removed test script
* md fix [slip ci]
* ready to merge [skip ci]
* fix: symbol export errors on msvc
2020-07-28 17:10:53 +04:30
Hamed Masafi
29aaab8228
Merge branch 'dev' of https://github.com/HamedMasafi/Nut into dev
...
# Conflicts:
# README.md
# appveyor.yml
2020-07-28 13:00:47 +04:30
Hamed Masafi
36d28a9fde
fix: symbol export errors on msvc
2020-07-28 12:55:06 +04:30
Hamed Masafi
3470f7f8b3
resolve symbols export errors on msvc
2020-07-28 12:50:57 +04:30
Miklós Márton
b077defc81
Fix X->x typo in the NUT_PRIMARY_AUTO_INCREMENT macro ( #92 )
...
* Extend .gitignore
* Extend .gitignore
* Fix X->x typo in the NUT_PRIMARY_AUTO_INCREMENT macro
2020-07-27 18:13:52 +04:30
Miklós Márton
a3d9d0a1e0
Add Q_ENUM to the Table::Status (makes debugging easier) ( #101 )
2020-07-27 18:13:36 +04:30
Hamed Masafi
2c1b8d17c2
test make
2020-07-27 18:11:37 +04:30
Hamed Masafi
39ec6de315
Ci ( #103 )
...
* try to init github ci
* try 2
* try 3
* try 4
* add pro file name to qmake command on ci
* add badge to readme
* [skip ci]
* [skip ci]
* remove travis and appvior badges
* remove ios from ci
2020-07-27 17:44:53 +04:30
Hamed Masafi
8cfd3ff55b
fix typo in bulkInserter
2020-07-27 17:44:14 +04:30
Hamed Masafi
11e8e7c910
remove ios from ci
2020-07-27 16:57:13 +04:30
Hamed Masafi
1e548048c0
remove travis and appvior badges
2020-07-27 13:53:52 +04:30
Hamed Masafi
e3a9b26c1d
[skip ci]
2020-07-27 13:53:18 +04:30
Hamed Masafi
b62635419b
[skip ci]
2020-07-27 13:52:48 +04:30
Hamed Masafi
eb1c7c6147
add badge to readme
2020-07-27 13:50:04 +04:30
Hamed Masafi
859e2d4c8c
add pro file name to qmake command on ci
2020-07-27 13:45:00 +04:30
Hamed Masafi
5cc2153ae8
try 4
2020-07-27 13:38:16 +04:30
Hamed Masafi
5445ca989f
try 3
2020-07-27 13:32:33 +04:30
Hamed Masafi
cdc5b04c56
try 2
2020-07-27 13:00:40 +04:30
Hamed Masafi
a3a4720c5a
try to init github ci
2020-07-27 12:52:52 +04:30
Hamed Masafi
471deff196
change to creating lib to dynamic
2020-07-27 12:31:26 +04:30
Jack Lilhammers
ee7151ea2f
Fixed some warnings and typos ( #99 )
...
* Draft of support for the unique constraint
* Update table.md
Removed the note beside the unique keyword description
* Fixed typo
* Fixed typo
* Removed a warning on initialization order
* Small refactoring of TableSet::at() and TableSet::operator[]
* Fixed a couple of warnings
2020-07-14 18:02:52 +04:30
Jack Lilhammers
42c4016273
Unique constraint support ( #96 )
...
* Draft of support for the unique constraint
* Update table.md
Removed the note beside the unique keyword description
2020-07-13 22:19:16 +04:30
Jack Lilhammers
6ce50e2250
Draft of support for the unique constraint ( #95 )
2020-07-07 19:20:17 +04:30
Miklós Márton
0d638a6fae
Fix qVariantFromValue deprecation ( #94 )
2020-06-13 11:52:42 +04:30
zhengshuyuan
8ceea29d3e
Update database_p.h ( #89 )
...
update function's param name according to database.cpp file.
2020-04-28 18:17:51 +04:30
Miklós Márton
4cef64c4b6
Fix typos ( #88 )
2020-04-28 18:17:25 +04:30
Miklós Márton
7d7a3caf41
Remove semicolons after Q_UNUSED macros ( #84 )
...
* Extend .gitignore
* Extend .gitignore
* Removed unneccessary semicolons after the Q_UNUSED macros
2020-04-04 14:55:35 +04:30
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
soyoo
7315a3f634
Update sharedpointer.md ( #78 )
2020-03-16 22:10:08 +03:30
soyoo
4649cdb11d
Update table.md ( #79 )
2020-03-16 22:09:52 +03:30
soyoo
d2c9deec1d
Update sharedpointer.md ( #77 )
2020-03-16 22:09:36 +03:30
Miklós Márton
5eaadcd350
Extend gitignore ( #72 )
...
* Extend .gitignore
* Extend .gitignore
2020-02-13 19:53:28 +03:30
aybbega
3f94b1f02c
Bug: Doesn't compile for Qt 5.6.2 ( #75 )
2020-02-13 19:53:16 +03:30
Isaac Nickaein
85532eb12e
Fix minor typos in README ( #74 )
2020-02-10 22:41:27 +03:30
Hamed Masafi
3a8e1a22c8
Update issue templates
2020-02-08 19:22:05 +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
be5434551e
Set ordered config in the pro file ( #63 )
...
When building the nut.pro (with multiple threads) it was possible to have a build failure until the library have not built.
The CONFIG += ordered line solves this problem:
> When using the subdirs template, this option specifies that the directories listed should be processed in the order in which they are given.
https://doc.qt.io/qt-5/qmake-variable-reference.html
2020-01-11 17:48:47 +03:30