mirror of
https://github.com/silverqx/TinyORM.git
synced 2026-04-30 13:44:57 -05:00
docs changed using declarations order
This commit is contained in:
@@ -175,10 +175,11 @@ You can create and configure a new database connection using the `create` method
|
||||
#include <orm/utils/configuration.hpp>
|
||||
|
||||
using Orm::DB;
|
||||
using namespace Orm::Constants; // NOLINT(google-build-using-namespace)
|
||||
|
||||
using ConfigUtils = Orm::Utils::Configuration;
|
||||
|
||||
using namespace Orm::Constants; // NOLINT(google-build-using-namespace)
|
||||
|
||||
// Ownership of a shared_ptr()
|
||||
auto manager = DB::create({
|
||||
{driver_, QMYSQL},
|
||||
@@ -220,10 +221,11 @@ You can create and configure a new database connection using the `create` method
|
||||
#include <orm/utils/configuration.hpp>
|
||||
|
||||
using Orm::DB;
|
||||
using namespace Orm::Constants; // NOLINT(google-build-using-namespace)
|
||||
|
||||
using ConfigUtils = Orm::Utils::Configuration;
|
||||
|
||||
using namespace Orm::Constants; // NOLINT(google-build-using-namespace)
|
||||
|
||||
// Ownership of a shared_ptr()
|
||||
auto manager = DB::create({
|
||||
{driver_, QPSQL},
|
||||
@@ -263,10 +265,11 @@ You can create and configure a new database connection using the `create` method
|
||||
#include <orm/utils/configuration.hpp>
|
||||
|
||||
using Orm::DB;
|
||||
using namespace Orm::Constants; // NOLINT(google-build-using-namespace)
|
||||
|
||||
using ConfigUtils = Orm::Utils::Configuration;
|
||||
|
||||
using namespace Orm::Constants; // NOLINT(google-build-using-namespace)
|
||||
|
||||
// Ownership of a shared_ptr()
|
||||
auto manager = DB::create({
|
||||
{driver_, QSQLITE},
|
||||
@@ -291,10 +294,11 @@ You can create and configure a new database connection using the `create` method
|
||||
#include <orm/utils/configuration.hpp>
|
||||
|
||||
using Orm::DB;
|
||||
using namespace Orm::Constants; // NOLINT(google-build-using-namespace)
|
||||
|
||||
using ConfigUtils = Orm::Utils::Configuration;
|
||||
|
||||
using namespace Orm::Constants; // NOLINT(google-build-using-namespace)
|
||||
|
||||
// Ownership of a shared_ptr()
|
||||
auto manager = DB::create({
|
||||
{driver_, QMYSQL},
|
||||
|
||||
Reference in New Issue
Block a user