mirror of
https://github.com/silverqx/TinyORM.git
synced 2026-05-23 10:51:02 -05:00
added schema builder 🔥🚀✨
Added practically everything I wanted to have in except for updating columns. Needed to name the schema namespace as Orm::SchemaNs to avoid collision with the Orm::Schema class. - unit tests with great coverage - new schema constants - a new prefix_indexes and engine DB conncetion configurations Others: - IsModel tag - enhanced columnize in the BaseGrammar - used a new columnize logic in all grammars - new constants - new container utils class for joining containers - new DB::driver() getter for QSqlDriver - avoid possible crash in tests with pretend, added empty log checks - clang tidy, excluded to word from short variable names
This commit is contained in:
@@ -906,7 +906,7 @@ namespace Orm::Tiny
|
||||
// template<typename ...Args>
|
||||
// Builder<Model> &
|
||||
// Builder<Model>::callScope(
|
||||
// const std::function<void (Builder &, Args ...)> &scope,
|
||||
// const std::function<void(Builder &, Args ...)> &scope,
|
||||
// Args &&...parameters)
|
||||
// {
|
||||
// std::invoke(scope, *this, std::forward<Args>(parameters)...);
|
||||
|
||||
Reference in New Issue
Block a user