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
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
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
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
9762d65742
Update README.md
2020-01-08 10:38:14 +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
Miklós Márton
e062b49830
Add Q_DECLARE_METATYPE(Post*) to the example ( #60 )
2020-01-05 15:21:54 +03:30
Miklós Márton
546b7ae53c
Fix whete typo ( #59 )
2020-01-05 15:20:51 +03:30
Hamed Masafi
d42e1b3f5c
Update README.md
2019-12-09 09:52:03 +03:30
Hamed Masafi
1918eaad5f
Appveyor badge [skip ci]
2019-08-09 00:28:49 +04:30
Hamed Masafi
62470c6f6b
Remove extra indent in bullets [skip ci]
2019-08-09 00:04:13 +04:30
Hamed Masafi
ab5b0f694d
appveyor fixed [skip ci] ( #52 ) ( #53 )
...
* 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]
2019-08-08 19:51:41 +04:30
Hamed Masafi
d6ae9a8850
Update appveyor.yml
2019-08-08 18:52:40 +04:30
Hamed Masafi
e3ee721418
Update appveyor.yml
2019-08-08 18:50:57 +04:30
Hamed Masafi
06c55b49cf
Update appveyor.yml
2019-08-08 18:40:05 +04:30
Hamed Masafi
143df55673
Update appveyor.yml
2019-08-08 18:35:11 +04:30
Hamed Masafi
9579764550
updaye appveyor.qml [skip ci]
2019-08-08 12:47:22 +04:30
Hamed Masafi
1a985e9ba6
Merge pull request #51 from HamedMasafi/dev
...
ci
2019-08-08 10:30:28 +04:30
Hamed Masafi
12628dcd40
Merge branch 'master' into dev
2019-08-08 10:30:10 +04:30
Hamed Masafi
504a4346ab
Merge branch 'dev' of https://github.com/HamedMasafi/Nut into dev
2019-08-05 09:26:32 +04:30
Hamed Masafi
6bfb8da869
fix: appveyor Qt path
2019-08-05 09:26:19 +04:30
Hamed Masafi
1f19423668
Update appveyor.yml
2019-08-04 19:54:19 +04:30
Hamed Masafi
e29c6cdc73
Update appveyor.yml
2019-08-04 19:43:08 +04:30
Hamed Masafi
4a6b3a05da
Update appveyor.yml
2019-08-04 19:41:15 +04:30
Hamed Masafi
4ca814e440
oops, typo in appveyor matrix
2019-08-04 19:11:13 +04:30
Hamed Masafi
1f567c3432
appveyoe new matrix
2019-08-04 19:08:32 +04:30
Hamed Masafi
802ad513a8
update badge [skip ci]
2019-08-04 18:48:58 +04:30
Hamed Masafi
ea6c0fec14
Update README.md
2019-08-04 18:48:06 +04:30
Hamed Masafi
e0d011e62b
update appveyor.yml script and badge [skip ci]
2019-08-04 18:41:16 +04:30