drogon
C++14/17-based HTTP application framework
Loading...
Searching...
No Matches
Criteria.h File Reference
#include <drogon/exports.h>
#include <drogon/orm/SqlBinder.h>
#include <assert.h>
#include <memory>
#include <string>
#include <tuple>
#include <type_traits>
Include dependency graph for Criteria.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  drogon::orm::CustomSql
 Wrapper for custom SQL string. More...
class  drogon::orm::Criteria
 this class represents a comparison condition. More...

Namespaces

namespace  drogon
 Drogon Test is a minimal effort test framework developed because the major C++ test frameworks doesn't handle async programs well. Drogon Test's syntax is inspired by both Google Test and Catch2.

Enumerations

enum class  CompareOperator {
  EQ , NE , GT , GE ,
  LT , LE , Like , NotLike ,
  In , NotIn , IsNull , IsNotNull
}

Functions

CustomSql drogon::orm::operator""_sql (const char *str, size_t)
 User-defined literal to convert a string to CustomSql.
DROGON_EXPORT const Criteria drogon::orm::operator&& (Criteria cond1, Criteria cond2)
DROGON_EXPORT const Criteria drogon::orm::operator|| (Criteria cond1, Criteria cond2)

Detailed Description

Author
An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon