Skip to content

Commit

Permalink
whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
silverqx committed Jul 3, 2024
1 parent 74bb99f commit 49dd5a2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions include/orm/tiny/concerns/hasattributes.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2458,16 +2458,19 @@ namespace Orm::Tiny::Concerns
return QStringLiteral("LongLong");
case CastType::ULongLong:
return QStringLiteral("ULongLong");

// QString
case CastType::QString:
return QStringLiteral("QString");

// Int 32-bit
case CastType::Int:
case CastType::Integer:
return QStringLiteral("Integer");
case CastType::UInt:
case CastType::UInteger:
return QStringLiteral("UInteger");

// QDateTime
case CastType::QDate:
return QStringLiteral("QDate");
Expand All @@ -2477,15 +2480,18 @@ namespace Orm::Tiny::Concerns
return QStringLiteral("QTime");
case CastType::Timestamp:
return QStringLiteral("Timestamp");

// Bool
case CastType::Bool:
case CastType::Boolean:
return QStringLiteral("Boolean");

// Int 16-bit
case CastType::Short:
return QStringLiteral("Short");
case CastType::UShort:
return QStringLiteral("UShort");

// Float
case CastType::Real:
return QStringLiteral("Real");
Expand All @@ -2495,6 +2501,7 @@ namespace Orm::Tiny::Concerns
return QStringLiteral("Double");
case CastType::Decimal:
return QStringLiteral("Decimal");

// Others
case CastType::QByteArray:
return QStringLiteral("QByteArray");
Expand Down

0 comments on commit 49dd5a2

Please sign in to comment.