website logo
⌘K
πŸ–οΈIntroduction to hyper cloud
🍎Getting Started
😍What's New
Blueberry Migration Guide
πŸ’ͺWorkshops
Deno Workshops
NodeJS Workshops
⚑Quickstarts
NodeJS Quickstarts
πŸ”ŒAPI Reference (hyper cloud)
🍎Basics
⚑hyper connect
πŸ”‘JWT Auth
πŸ’ΎData API
🏎️Cache API
πŸ”ŽSearch API
πŸ—„οΈStorage API
πŸ€“Queue API
πŸ”“Sign In
⚑Applications
βš™οΈSettings
πŸ”‘App Keys
πŸ‘₯Teams
Switching Between Accounts
Application Services
Application Service Instances
Adding a Queue Service
Adding a Search Service
Subscriptions
πŸ€‘Upgrade
πŸ“•Terminology
Parameters
πŸ’³Billing
Payment and Pricing Terms
πŸ’ΌLegal
Terms of Service
Acceptable Use Policy
Privacy Policy
πŸ•ΆοΈHyper Vision
Docs powered byΒ archbeeΒ 
11min

Query Cache Store

GET /{appname}/cache/{servicename}/_query

With this command, specify a request comparison pattern in the query. When applied the pattern will be used to match all the keys in the cache and only return the ones that match the pattern. Using the * wildcard, you can define patterns that match all the key values that either start with the provided pattern, end with the pattern, or is in-between the pattern.

Use wildcard characters as comparison criteria for text filters, and when you're searching

Parameters

Path parametes

  • appname - the name of your hyper cloud application.
  • servicename - the name of your hyper cloud service within the application.

Query string parameters

  • pattern - string - this parameter is not required, but when applied the value will be used to match all the keys in the cache and only return the ones that match the pattern. Using an * wildcard, you can create a selector to perform the following types of filters:
    • starts with - movie*
    • ends with - *-1984
    • in between - movie*1984

Examples

Don't forget!

Be sure to set your HYPER environment variable with the value of your hyper app's connection string.

Node.js
Curl
|

Responses

Status Code

Description

Example Response

200

Success

{"ok": true, "docs": [...]}

500

Error

{"ok": false, "msg": "..."}

Need Help?

You can always reach out to our support team for any additional assistance on slack.

Updated 24 Mar 2022
Did this page help you?
Yes
No
UP NEXT
Cache Value with Key
Docs powered byΒ archbeeΒ 
TABLE OF CONTENTS
GET /{appname}/cache/{servicename}/_query
Parameters
Path parametes
Query string parameters
Examples
Don't forget!
Responses
Need Help?