Base needs remove
ksnmartin opened this issue · 1 comments
ksnmartin commented
A remove function in the Base class to delete objects matching a certain query would be nice.
for example
from fastapi import FastAPI
from deta import Deta
deta = Deta("SECRET_KEY")
db = deta.Base('db')
app = FastAPI()
@app.get("/")
async def func():
db.remove({})#removes all entries
aavshr commented
hello, thank you for the suggestion, noted.