# replit database 使用方式 ## 引用套件 ```python= from replit import db ``` ## 存取資料 把db想像成是一個dictionary 用dictionary取值 ```python= db["key"] = "value" a = db["key"] ``` ## 刪除 key ```python= del db["key"] ``` ## 列出所有 key ```python= keys = db.keys() ```
×
Sign in
Email
Password
Forgot password
or
Sign in via Google
Sign in via Facebook
Sign in via X(Twitter)
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
Continue with a different method
New to HackMD?
Sign up
By signing in, you agree to our
terms of service
.