# 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
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up