Flox Package Database 1
CRUD Operations on Nix Package Metadata
Loading...
Searching...
No Matches
Namespaces | Functions
pkg-query.cc File Reference

Interfaces for constructing complex ‘Packages’ queries. More...

#include <algorithm>
#include <cstddef>
#include <list>
#include <memory>
#include <optional>
#include <sstream>
#include <string>
#include <string_view>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include <vector>
#include <nix/config.hh>
#include <nix/globals.hh>
#include <nlohmann/json.hpp>
#include <sqlite3pp.hh>
#include "flox/core/types.hh"
#include "flox/core/util.hh"
#include "flox/pkgdb/pkg-query.hh"
#include "versions.hh"

Namespaces

namespace  flox
 Interfaces for use by flox.
 
namespace  flox::pkgdb
 Interfaces for caching package metadata in SQLite3 databases.
 

Functions

void flox::pkgdb::to_json (nlohmann::json &jto, const PkgQueryArgs &descriptor)
 Convert an flox::pkgdb::PkgQueryArgs to a JSON object.
 
static void flox::pkgdb::addIn (std::stringstream &oss, const std::vector< std::string > &elems)
 

Detailed Description

Interfaces for constructing complex ‘Packages’ queries.