silverqx
ddca4704cd
removed todo task
...
[skip ci]
2022-07-12 13:09:04 +02:00
silverqx
ea2548af1d
bump version to TinyORM v0.9.2
2022-07-12 10:26:27 +02:00
silverqx
ac3e59c49d
removed todo task
...
[skip ci]
2022-07-11 23:57:06 +02:00
silverqx
d4ad5f4d8b
renamed macro
2022-07-11 23:43:23 +02:00
silverqx
a96c8aa9cf
enabled unorderd_map for m_relations >=GCC 12,1
...
The libstdc++ shipped with the GCC <12.1 doesn't allow an incomplete
mapped_type (value) in the std::unordered_map.
2022-07-11 22:51:58 +02:00
silverqx
2671551bfd
updated todo task
...
[skip ci]
2022-07-11 21:16:30 +02:00
silverqx
f30ed97fb0
bump version to TinyORM v0.9.1
2022-07-11 20:47:57 +02:00
silverqx
c280a61735
updated todo task and updated NOTES.txt
...
[skip ci]
2022-07-11 20:44:13 +02:00
silverqx
6f752c358f
added Model::increment()/decrement()
...
- added also tests
- added default template parameter value std::size_t
- new method HasAttributes::syncOriginalAttributes()
2022-07-11 19:41:57 +02:00
silverqx
3ab200d37a
removed todo task
...
[skip ci]
2022-07-11 13:02:13 +02:00
silverqx
031ecf2801
bump versions to TinyORM v0.9.0 and tom v0.4.1
2022-07-10 20:03:32 +02:00
silverqx
afc4630205
fixed clang-tidy and clazy warnings
2022-07-10 18:49:20 +02:00
silverqx
611564800b
removed todo tasks
2022-07-10 17:58:04 +02:00
silverqx
9162c5a53d
used shared_ptr everywhere
...
Get rid of the QSharedPointer and use the std::shared_ptr everywhere.
2022-07-10 17:36:53 +02:00
silverqx
9910cc2cf7
bump versions to TinyORM v0.8.0, tom v0.4.0
2022-07-10 14:28:36 +02:00
silverqx
8a257620df
bugfix tom make:model join container
2022-07-08 16:24:36 +02:00
silverqx
f7e40df03a
whitespace
2022-07-08 09:35:18 +02:00
silverqx
82efe9be21
fixtypo cmd. line vs command-line
2022-07-04 16:14:34 +02:00
silverqx
14a0cd1297
optimize containers in make:model
2022-07-03 14:36:52 +02:00
silverqx
9192522a1d
added todo task
...
[skip ci]
2022-07-02 17:39:25 +02:00
silverqx
99f2b9251d
enhanced make:model, array relations
...
Allow to define more relations of the same type more than once,
supported by all relations except btm.
2022-06-28 22:04:07 +02:00
silverqx
a30dfcd364
removed deprecated tag
...
[skip ci]
2022-06-27 02:01:05 +02:00
silverqx
7a61733db6
added StringUtils::wrapValue()
...
- also bugfix missing const
2022-06-27 00:12:23 +02:00
silverqx
7c1e2dc8e4
fixed gcc/clang warnings
2022-06-26 14:51:58 +02:00
silverqx
02016ad7b7
enhanced make:model, generate one-to-one/many
...
make:model command can generate one-to-one and one-to-many relationship
methods using the --one-to-one= and --one-to-many= command line options.
2022-06-26 14:10:04 +02:00
silverqx
9a0e7eed66
enhanced ContainerUtils::join() algorithm
...
It can take now also the std::set.
2022-06-26 11:42:16 +02:00
silverqx
ad90a64153
bump version to TinyORM v0.7.1
2022-06-24 19:19:58 +02:00
silverqx
735eee5965
changed DM::m_configuration to unordered_map
...
I have discovered very bad bug that caused crashes because of
invalidated references to the configurations caused by QHash after
insertion using DB::addConnection().
std::unordered_map doesn't invalidates references after insertion or
remove 🙌 .
2022-06-24 17:12:55 +02:00
silverqx
98a8e07a7c
bump version to TinyORM v0.7.0
2022-06-24 15:01:55 +02:00
silverqx
de2c642a7e
tests enhanced connections handling
...
If DB driver for any connection is not available then skip all tests
for this connection.
- also added DB::drivers()/isDriverAvailable()/...
2022-06-24 15:01:16 +02:00
silverqx
6b968b9f15
enhanced pwsh complete
2022-06-24 11:42:34 +02:00
silverqx
e9ec27cd32
bump versions to TinyORM v0.6.0, Tom v0.3.3
2022-06-23 19:29:49 +02:00
silverqx
38dcfca139
count query result size manually if needed
...
Fixed all query.size() calls, added QueryUtils::queryResultSize() helper
method that counts query result size manually if needed.
2022-06-23 18:44:51 +02:00
silverqx
8e1d0ec2d8
log Executed prepared/unprepared query
...
Correctly log executed query type, prepared vs unprepared.
2022-06-23 17:45:31 +02:00
silverqx
70ce573c3f
added SQLite schema builder 💥
...
- changed return value for
SchemaBuilder::createDatabase()/dropDatabaseIfExists() to
std::optional<QSqlQuery>
- added 46 SQLite schema builder tests
2022-06-20 19:05:01 +02:00
silverqx
cc2676e1ec
bump version to TinyORM v0.5.2, tom v0.3.2
2022-06-16 13:20:16 +02:00
silverqx
7f566944e7
bugfix move forward declarations out of TinyORM NS
2022-06-13 12:47:06 +02:00
silverqx
dc2d90fbfc
removed todo task
2022-06-09 09:58:08 +02:00
silverqx
37c9bb0891
added noexcept for JoinClause
...
[skip ci]
2022-06-09 09:58:00 +02:00
silverqx
5a780a4951
updated todo task
2022-06-08 21:43:08 +02:00
silverqx
3d1ad763d0
enabled /sdl for MSVC debug builds
2022-06-08 21:37:25 +02:00
silverqx
b9eefd1148
added TINY_DECL_HIDDEN
...
- also removed todo task
[skip ci]
2022-06-08 21:04:41 +02:00
silverqx
78e750f8f8
bump to version TinyORM v0.5.1
2022-06-08 16:18:21 +02:00
silverqx
9812c48662
bugfix undefined symbol
...
Occurred when was disabled tom and enabled orm.
2022-06-08 16:16:49 +02:00
silverqx
5701421864
bump versions to TinyORM v0.5.0, tom v0.3.0
2022-06-07 11:26:23 +02:00
silverqx
1f3dbfcc5f
enabled thread_local on Linux and MSYS2
...
It started working finally, so enabling for Clang >= 14.0.3 on MSYS2
and for Clang >= 14.0.4 on Linux.
Still disabled for clang-cl with MSVC and g++ on MSYS2.
2022-06-07 10:48:54 +02:00
silverqx
6bc5d759a2
enabled thread_local for clang >=14.0.4 for Linux
2022-06-07 08:09:41 +02:00
silverqx
3c07dc0d41
bump version to TinyORM v0.4.6
2022-06-05 18:16:33 +02:00
silverqx
6146699185
added clang-cl support to compilerdetect.hpp
2022-06-05 18:14:22 +02:00
silverqx
db5232a22f
bump TinyORM v0.4.5, tom v0.2.2, TinyUtils v0.1.1
2022-06-05 13:43:49 +02:00