Stroika Library 3.0d18
 
Loading...
Searching...
No Matches
Filter.h File Reference
#include "Stroika/Foundation/StroikaPreComp.h"
#include "Stroika/Foundation/Characters/String.h"
#include "Stroika/Foundation/Containers/Sequence.h"
#include "Stroika/Foundation/DataExchange/VariantValue.h"
#include "Stroika/Foundation/Database/Document/Document.h"
#include "Filter.inl"

Go to the source code of this file.

Classes

struct  Stroika::Foundation::Database::Document::FilterElements::FieldName
 
struct  Stroika::Foundation::Database::Document::FilterElements::Value
 
class  Stroika::Foundation::Database::Document::Filter
 

Namespaces

namespace  Stroika::Foundation
 

Typedefs

using Stroika::Foundation::Database::Document::FilterElements::Operation = variant< Equals >
 

Functions

bool Stroika::Foundation::Database::Document::FilterElements::Matches (const Operation &op, const Database::Document::Document &doc)
 

Variables

static const FieldName Stroika::Foundation::Database::Document::FilterElements::kID {Database::Document::kID}
 

Detailed Description

Note
Code-Status: Alpha

Definition in file Filter.h.

Typedef Documentation

◆ Operation

Definition at line 60 of file Filter.h.

Function Documentation

◆ Matches()

bool Stroika::Foundation::Database::Document::FilterElements::Matches ( const Operation op,
const Database::Document::Document doc 
)

Call the .Matches() method of the appropriate variant.

Variable Documentation

◆ kID

const FieldName Stroika::Foundation::Database::Document::FilterElements::kID {Database::Document::kID}
static
Note
this special value kID is used to identify the ID field in a document. Its value is "_id" (in mongodb, but in this API, its "id") ?????? dont want to hardwire queer choice of mongodb, but dont wnat to have todo alot of needless mapping/translation later. RETHINK!!!

Definition at line 38 of file Filter.h.