mirror of
https://github.com/silverqx/TinyORM.git
synced 2025-12-30 15:29:36 -06:00
It allows to obtain a SqlRecord for the given table.
Populating the Default Column Values works the same way as
for the SqlQuery/SqlResult couterparts.
The recordCached() counterparts in SqlResult were not implemented
because of cache invalidation problems (not possible with the current
API, it's hard to implement).
This API always select-s all columns from the information_schema.columns
table, that's why the SqlResult::recordWithDefaultValues(allColumns)
has the allColumns parameter, it's used but this API/feature.
- added functional tests
- added a new empty_with_default_values table
- logic that doesn't fit into the MySqlDriver class was extracted
to the SelectsAllColumnsWithLimit0 concern 🕺
30 lines
1.1 KiB
Plaintext
30 lines
1.1 KiB
Plaintext
INCLUDEPATH *= $$PWD
|
|
|
|
headersList = \
|
|
$$PWD/orm/drivers/concerns/selectsallcolumnswithlimit0.hpp \
|
|
$$PWD/orm/drivers/driverstypes.hpp \
|
|
$$PWD/orm/drivers/dummysqlerror.hpp \
|
|
$$PWD/orm/drivers/exceptions/driverserror.hpp \
|
|
$$PWD/orm/drivers/exceptions/invalidargumenterror.hpp \
|
|
$$PWD/orm/drivers/exceptions/logicerror.hpp \
|
|
$$PWD/orm/drivers/exceptions/outofrangeerror.hpp \
|
|
$$PWD/orm/drivers/exceptions/queryerror.hpp \
|
|
$$PWD/orm/drivers/exceptions/runtimeerror.hpp \
|
|
$$PWD/orm/drivers/exceptions/sqlerror.hpp \
|
|
$$PWD/orm/drivers/exceptions/sqltransactionerror.hpp \
|
|
$$PWD/orm/drivers/libraryinfo.hpp \
|
|
$$PWD/orm/drivers/macros/export.hpp \
|
|
$$PWD/orm/drivers/sqldatabase.hpp \
|
|
$$PWD/orm/drivers/sqldatabasemanager.hpp \
|
|
$$PWD/orm/drivers/sqldriver.hpp \
|
|
$$PWD/orm/drivers/sqlfield.hpp \
|
|
$$PWD/orm/drivers/sqlquery.hpp \
|
|
$$PWD/orm/drivers/sqlrecord.hpp \
|
|
$$PWD/orm/drivers/sqlresult.hpp \
|
|
$$PWD/orm/drivers/utils/notnull.hpp \
|
|
$$PWD/orm/drivers/version.hpp \
|
|
|
|
HEADERS += $$sorted(headersList)
|
|
|
|
unset(headersList)
|