19#ifndef CPPREALM_BRIDGE_QUERY_HPP
20#define CPPREALM_BRIDGE_QUERY_HPP
22#include <cpprealm/internal/bridge/col_key.hpp>
23#include <cpprealm/internal/bridge/obj.hpp>
24#include <cprealm/internal/bridge/utils.hpp>
37namespace realm::internal::bridge {
40 carimbo de data/hora
da estrutura ;
51 subexpr(std::unique_ptr<Subexpr> outro);
53 query equal(
const std::optional<int64_t>& rhs)
const;
54 query not_equal(
const std::optional<int64_t>& rhs)
const;
55 query maior(
const std::opcional<int64_t>& rhs)
const;
56 query menos(
const std::opcional<int64_t>& rhs)
const;
57 query maior_equal(
const std::opcional<int64_t>& rhs)
const;
58 query less_equal(
const std::opcional<int64_t>& rhs)
const;
60 query equal(
const std::opcional<bool>& rhs)
const;
61 query not_equal(
const std::optional<bool>& rhs)
const;
63 query equal(
const std::opcional<double>& rhs)
const;
64 query not_equal(
const std::optional<double>& rhs)
const;
65 query maior(
const std::opcional<double>& rhs)
const;
66 query menos(
const std::opcional<double>& rhs)
const;
67 query maior_equal(
const std::opcional<double>& rhs)
const;
68 query less_equal(
const std::opcional<double>& rhs)
const;
70 query equal(
const <binary>std::opcional<binário>& rhs)
const;
71 query not_equal(
const std::optional<binary>& rhs)
const;
73 query equal(
const std::opcional<timestamp>& rhs)
const;
74 query not_equal(
const std::optional<timestamp>& rhs)
const;
75 query maior(
const std::opcional<timestamp>& rhs)
const;
76 query menos(
const std::opcional<timestamp>& rhs)
const;
77 query maior_equal(
const std::opcional<timestamp>& rhs)
const;
78 query less_equal(
const std::optional<timestamp>& rhs)
const;
80 query equal(
const std::opcional<std::string>& rhs)
const;
81 query not_equal(
const std::optional<std::string>& rhs)
const;
82 query contém(
const std::opcional<std::string>& rhs,
bool case_sensitive =
true)
const;
84 query equal(
const std::optional<internal::bridge::uuid>& rhs)
const;
85 query not_equal(
const std::optional<internal::bridge::uuid>& rhs)
const;
87 query equal(
const std::optional<internal::bridge::object_id>& rhs)
const;
88 query not_equal(
const std::optional<internal::bridge::object_id>& rhs)
const;
90 query igual(
const std::opcional <interno::bridge::decimal128>& rhs)
const;
91 query not_equal(
const std::optional<internal::bridge::decimal128>& rhs)
const;
92 query maior(
const std::opcional <interno::bridge::decimal128>& rhs)
const;
93 query menos(
const std::opcional <interno::bridge::decimal128>& rhs)
const;
94 query maior_equal(
const std::opcional<interno::ponte::decimal128>& rhs)
const;
95 query less_equal(
const std::opcional <internal::bridge::decimal128>& rhs)
const;
100 query equal(
const std::opcional<obj>&)
const;
101 query not_equal(
const std::opcional<obj>&)
const;
104 std::shared_ptr<Subexpr> m_subexpr;
128 std::shared_ptr<LinkChain> m_link_chain;
143 query( query
const &);
144 operador Query()
const;
156 query& entre(
col_key column_key, int64_t de, int64_t para);
200 query& equal(
col_key column_key, std::string_view value,
bool case_sensitive =
true);
201 query& not_equal(
col_key column_key, std::string_view value,
bool case_sensitive =
true);
202 querye começa com (
col_key column_key,
const std::string& valor,
bool case_sensitive =
true);
203 query&ends_with(
col_key column_key,
const std::string& valor,
bool case_sensitive =
true);
204 querye contém (
col_key column_key, std::string_view value,
bool case_sensitive =
true);
205 querye semelhante(
col_key column_key,
const std::string& valor,
bool case_sensitive =
true);
222 querye começa com (
col_key column_key, valor
misto ,
bool case_sensitive =
true);
235 querye dictionary_has_value_for_key_equals(
col_key column_key,
const std::string& chave,
const misto& valor);
236 query& dictionary_has_value_for_key_not_equals(
col_key column_key,
const std::string& chave,
const misto& valor);
237 query& dictionary_has_value_for_key_greter_than(
col_key column_key,
const std::string& chave,
const misto& valor);
238 query& dictionary_has_value_for_key_less_than(
col_key column_key,
const std::string& chave,
const misto& valor);
239 query& dictionary_has_value_for_key_greter_than_equals(
col_key column_key,
const std::string& chave,
const misto& valor);
240 query& dictionary_has_value_for_key_less_than_equals(
col_key column_key,
const std::string& chave,
const misto& valor);
241 query& dictionary_contains_string_for_key(
col_key column_key,
const std::string& chave,
const std::string& valor);
242 query& dictionary_contains_key(
col_key column_key,
const std::string& key);
243 subexpr dictionary_link_subexpr(
col_key column_key,
col_key link_column_key,
const std::string& key);
246 estático query falsepredicate();
248 std::string descrição()
const;
250 query
embutida * get_query();
251#ifdef CPPREALM_HVE_GENERATED_BRIDGE_TYPes
252 armazenamento::Query m_query[1];
254 std::shared_ptr<Query> m_query;
Definição: col_key.hpp:28
Definição: decimal128.hpp:30
Definição: object_id.hpp:31
Definição: timestamp.hpp:30