The main Bubble source repository. Contains the Bubble API server, the web UI, documentation and utilities. https://getbubblenow.com
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 

16 行
517 B

  1. #!/bin/bash
  2. #
  3. # Copyright (c) 2020 Bubble, Inc. All rights reserved. For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/
  4. #
  5. # Dump data from redis for keys matching a pattern
  6. #
  7. # Usage: rkeys keytext
  8. #
  9. # keytext : any key that contains this text will be dumped
  10. # the dump text that is printed is "key => dump(value)"
  11. #
  12. KEY_MATCH="${1}"
  13. for k in $(echo 'keys *'"""${KEY_MATCH}"""'*' | redis-cli) ; do
  14. echo "$k => $(echo "dump $k" | redis-cli | strings)"
  15. done