Learn R Programming

gooseR (version 0.1.2)

goose_cache_get: Get Cached Response

Description

Retrieve a cached response for a query

Usage

goose_cache_get(query, model = NULL, max_age = NULL, conn = NULL)

Value

Response text or NULL if not found

Arguments

query

The query text

model

Optional model identifier

max_age

Maximum age in seconds (NULL for no limit)

conn

Database connection