public interface DatabaseApi
| Modifier and Type | Method and Description |
|---|---|
retrofit2.Call<okhttp3.ResponseBody> |
countDocs(okhttp3.RequestBody body) |
retrofit2.Call<okhttp3.ResponseBody> |
createCollection(okhttp3.RequestBody body) |
retrofit2.Call<okhttp3.ResponseBody> |
deleteCollection(okhttp3.RequestBody body) |
retrofit2.Call<okhttp3.ResponseBody> |
deleteMany(okhttp3.RequestBody body) |
retrofit2.Call<okhttp3.ResponseBody> |
deleteOne(okhttp3.RequestBody body) |
retrofit2.Call<okhttp3.ResponseBody> |
findMany(okhttp3.RequestBody body) |
retrofit2.Call<okhttp3.ResponseBody> |
findOne(okhttp3.RequestBody body) |
retrofit2.Call<okhttp3.ResponseBody> |
insertMany(okhttp3.RequestBody body) |
retrofit2.Call<okhttp3.ResponseBody> |
insertOne(okhttp3.RequestBody body) |
retrofit2.Call<okhttp3.ResponseBody> |
updateMany(okhttp3.RequestBody body) |
retrofit2.Call<okhttp3.ResponseBody> |
updateOne(okhttp3.RequestBody body) |
@POST(value="/api/v1/db/create_collection")
retrofit2.Call<okhttp3.ResponseBody> createCollection(@Body
okhttp3.RequestBody body)
@POST(value="/api/v1/db/delete_collection")
retrofit2.Call<okhttp3.ResponseBody> deleteCollection(@Body
okhttp3.RequestBody body)
@POST(value="/api/v1/db/insert_one")
retrofit2.Call<okhttp3.ResponseBody> insertOne(@Body
okhttp3.RequestBody body)
@POST(value="/api/v1/db/insert_many")
retrofit2.Call<okhttp3.ResponseBody> insertMany(@Body
okhttp3.RequestBody body)
@POST(value="/api/v1/db/update_one")
retrofit2.Call<okhttp3.ResponseBody> updateOne(@Body
okhttp3.RequestBody body)
@POST(value="/api/v1/db/update_many")
retrofit2.Call<okhttp3.ResponseBody> updateMany(@Body
okhttp3.RequestBody body)
@POST(value="/api/v1/db/delete_one")
retrofit2.Call<okhttp3.ResponseBody> deleteOne(@Body
okhttp3.RequestBody body)
@POST(value="/api/v1/db/delete_many")
retrofit2.Call<okhttp3.ResponseBody> deleteMany(@Body
okhttp3.RequestBody body)
@POST(value="/api/v1/db/count_documents")
retrofit2.Call<okhttp3.ResponseBody> countDocs(@Body
okhttp3.RequestBody body)
@POST(value="/api/v1/db/find_one")
retrofit2.Call<okhttp3.ResponseBody> findOne(@Body
okhttp3.RequestBody body)
@POST(value="/api/v1/db/find_many")
retrofit2.Call<okhttp3.ResponseBody> findMany(@Body
okhttp3.RequestBody body)