How to delete elements of a table in Retinkdb from Data Explorer?

0

Hello, I have an application created in Node.js with a Rethinkdb database, I load images from the application, but from the Data Explorer, to which you can connect from localhost: 8080, I can not delete the loaded elements. For more than what I check the javascript documentation of Rethinkdb: ( link ) I can not find a way to delete one by one the elements of the images in the table. It's there, but I can not find the way, the most I can see is how to remove users from another table: r.db ("xxxxxxxx").Table ("users"). Filter (r.row ['username '] =' pedrito '). delete (). run but I can not delete the images in the same way. I want to do it from Data Explorer, from the graphic part of Rethinkdb. I show you how the elements of the table look from Data Explorer Thanks

// Asi es como muestro el contenido
r.db("xxxxxxxxxx").table('images')


// Y esto se ve, pero no se como eliminar cada elemento por separado, o todos a la vez
{

 "createdAt": Sun Jul 29 2018 16:19:27 GMT+00:00 ,

"id": "17aac165-e885-4278-9cf2-8a71bca65fe3" ,

 "publicId": "0IERfW4T5wfcjhFjGNftZh" ,

 "src": https:xxxxxxxxxxxxxxxxxxxxxxxx1532881165551.jpg, »

 "tags": [ ],

"user": {

 "avatar": "www.gravatar.com/avatar/c17a64a79d5bb880c9b002458240fa92" ,

 "name": "" ,

 "username": "pedrito"

} ,

 "userId": "pedrito"

}
    
asked by gemita 06.08.2018 в 19:46
source

0 answers