Close #2718 : added querying with prefix patterns example and documentation (#2778)
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
Notify HeyPuter / notify (push) Has been cancelled
release-please / release-please (push) Has been cancelled

* feat: add querying with prefix patterns example and documentation

* refine

---------

Co-authored-by: Reynaldi Chernando <reynaldichernando@gmail.com>
This commit is contained in:
Hemant
2026-04-08 12:19:00 +05:30
committed by GitHub
parent 8cc29724b2
commit 69bb7e4a38
4 changed files with 141 additions and 3 deletions
+9 -3
View File
@@ -418,13 +418,19 @@ const examples = [
description: 'See how keys are returned in lexicographic order with puter.kv.list(). Run and modify this example in the playground.',
slug: 'kv-list-sort',
source: '/playground/examples/kv-list-sort.html',
},
{
},
{
title: 'List (Zero-Padding)',
description: 'Learn how to sort numeric keys correctly by zero-padding. Run and experiment with this example in the playground.',
slug: 'kv-list-padding',
source: '/playground/examples/kv-list-padding.html',
},
},
{
title: 'List (Prefix Patterns)',
description: 'Learn how to model SQL-style filtering in Puter.js KV by designing keys for prefix queries. Run and modify this example in the playground.',
slug: 'kv-prefix-patterns',
source: '/playground/examples/kv-prefix-patterns.html',
},
{
title: 'Flush',
description: 'Clear all data with Puter.js key-value API. Run and experiment with this flush example in the playground.',