mirror of
https://github.com/silverqx/TinyORM.git
synced 2026-02-09 03:49:21 -06:00
- added u_fillable on models used in tests that need it - added documentation for mass assignment - added tests for mass assignment feature - added new Torrent models for tests, which have set up u_fillable and u_guarded differently - added schema grammar, query post-processor, and schema builder, they was needed for database column listing during a mass assignment guarded attributes check, used to check if the given attribute is a valid guardable column
27 lines
518 B
C++
27 lines
518 B
C++
#ifndef MYSQLPROCESSOR_H
|
|
#define MYSQLPROCESSOR_H
|
|
|
|
#include "orm/query/processors/processor.hpp"
|
|
|
|
#ifdef TINYORM_COMMON_NAMESPACE
|
|
namespace TINYORM_COMMON_NAMESPACE
|
|
{
|
|
#endif
|
|
namespace Orm::Query::Processors
|
|
{
|
|
|
|
class SHAREDLIB_EXPORT MySqlProcessor : public Processor
|
|
{
|
|
Q_DISABLE_COPY(MySqlProcessor)
|
|
|
|
public:
|
|
MySqlProcessor() = default;
|
|
};
|
|
|
|
} // namespace Orm::Query::Processors
|
|
#ifdef TINYORM_COMMON_NAMESPACE
|
|
} // namespace TINYORM_COMMON_NAMESPACE
|
|
#endif
|
|
|
|
#endif // MYSQLPROCESSOR_H
|