mirror of
https://github.com/zerotier/pg_consul.git
synced 2026-05-22 16:22:07 -07:00
c268e938ee
Add a set returning function that fetches a particular key. It can be called like:
SELECT * FROM consul_kv_get('foo-key');
SELECT * FROM consul_kv_get(key := 'test/', recurse := TRUE);
10 lines
175 B
C++
10 lines
175 B
C++
#ifndef CONSUL_HPP
|
|
#define CONSUL_HPP
|
|
|
|
#include "consul/agent.hpp"
|
|
#include "consul/kv_pairs.hpp"
|
|
#include "consul/peer.hpp"
|
|
#include "consul/peers.hpp"
|
|
|
|
#endif // CONSUL_HPP
|