GRAPH.CONFIG-GET
Retrieves the current value of a FalkorDB configuration parameter.
FalkorDB configuration parameters are detailed here.
* can be used to retrieve the value of all FalkorDB configuration parameters.
from falkordb import FalkorDB
client = FalkorDB()
config = client.get_config('*')
print(config)
import { FalkorDB } from 'falkordb';
const client = await FalkorDB.connect();
const config = await client.getConfig('*');
console.log(config);
let client = FalkorDB::connect_default();
let config = client.get_config("*")?;
println!("{:?}", config);
FalkorDB client = new FalkorDB();
Map<String, Object> config = client.getConfig("*");
System.out.println(config);
graph.config get *
# Output:
# 1) 1) "TIMEOUT"
# 2) (integer) 0
# ...
timeout = client.get_config('TIMEOUT_DEFAULT')
print(timeout)
const timeout = await client.getConfig('TIMEOUT_DEFAULT');
console.log(timeout);
let timeout = client.get_config("TIMEOUT_DEFAULT")?;
println!("{:?}", timeout);
Object timeout = client.getConfig("TIMEOUT_DEFAULT");
System.out.println(timeout);
graph.config get TIMEOUT_DEFAULT
# Output:
# 1) "TIMEOUT_DEFAULT"
# 2) (integer) 0