From 40c53ced94893044f6a624b18beb0062c7432bb6 Mon Sep 17 00:00:00 2001 From: silverqx Date: Tue, 14 Mar 2023 10:54:37 +0100 Subject: [PATCH] removed pointless and confusing methods on Model Removed Model::dump() and Model::dd() proxy methods, they are pointless and are confusing. --- include/orm/tiny/modelproxies.hpp | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/include/orm/tiny/modelproxies.hpp b/include/orm/tiny/modelproxies.hpp index 67c3a45f9..209ef026d 100644 --- a/include/orm/tiny/modelproxies.hpp +++ b/include/orm/tiny/modelproxies.hpp @@ -854,12 +854,6 @@ namespace Tiny static std::unique_ptr> lock(QString &&value); - /* Debugging */ - /*! Dump the current SQL and bindings. */ - static void dump(bool replaceBindings = true, bool simpleBindings = false); - /*! Die and dump the current SQL and bindings. */ - static void dd(bool replaceBindings = true, bool simpleBindings = false); - /* Builds Queries */ /*! Chunk the results of the query. */ static bool @@ -3328,22 +3322,6 @@ namespace Tiny return builder; } - /* Debugging */ - - template - void ModelProxies::dump(const bool replaceBindings, - const bool simpleBindings) - { - query()->dump(replaceBindings, simpleBindings); - } - - template - void ModelProxies::dd(const bool replaceBindings, - const bool simpleBindings) - { - query()->dd(replaceBindings, simpleBindings); - } - /* Builds Queries */ template