Backendless Support
 
Answered

Can we make a non relational database in Backendless to hold data?

Hi,

We would like to have a folder or database in backendless cloud with no relations. So we want to upload data form the app with no owner ID or User data (so its completely anonymous). Can this be done?

Best,

Feras A.

Leave a Comment

Comments (14)

photo
2

Hello,

you can create a table without any relation.

photo
1

Thank you Sergey, If I create a table by default it has ownerIDs and other columns. How do I go about making a table that has no relations.

photo
1

You can not create a table without default columns. But these columns are not relations.

photo
1

When I upload data from my app. then the default columns will be filled in. I don't want to have anything other than the data that I upload.

photo
1

Unfortunately it is not posible.

photo
1

can Backendless pro on my desktop be use to download data and then delete rows?

photo
1

Just want to clarify,

Do you want to get data without any additional fields? and it does not matter how it stores?

I have created small example, here it is how it looks like in backendless console http://take.ms/CjJ8u

then I have created afterFindById codeless business logic http://take.ms/Duv1f

then use next curl:

  1. curl -X GET 'https://api.backendless.com/DDC04866-D10A-A41E-FFE1-DCF699D19F00/4F0F6C76-871B-2AB4-FFFB-E1DBD7883500/data/TestProps/1582D2E0-D8AB-5E5D-FF03-DAD992840700' -v

and response is:

  1. {"name":"myname","age":25}

that is what you want?

photo
1

Hi Sergey,

Thank you. What matters to us is that the data is not stored with any identifying information. We have two options:

1) This is possible in Backendless cloud and we can store audio files in a folder without anything identifying the audio files.

2) This cannot be done, in which case we want to store the .wav files in Backendless cloud, download them to our computer and then delete the information in Backendless cloud.

Either option needs to be compatible with automation.

Best,

Feras A.

photo
1

if you want to save files, you may use Files Service api. The files will be saved as is. without any additional data.

photo
1

Feras,

When you import data, the ownerId column will not be populated. It contains value only when an authenticated user saves an object.

As for "anything identifying the audio files", I am not sure what you mean. Please clarify.

Mark

photo
1

Mark,

Basically I want the ownerID not to be populated when an authenticated user saves an object.

F

photo
1

Feras,

Backendless does not work this way, if there is an authenticated user, ownerId will be assigned.

Regards,

Mark

photo
1

Mark,

Can I access backendless cloud data from my desktop?

Best,

Feras A.

photo
1

Yes. You can use web-console or as instance below (code just in plain java):

  1. Backendless.initApp( APPLICATION_ID, API_KEY );

    Backendless.Data.of( "<YourTable>" ).findById( "<objectId>" );

or cURL:

  1. curl --request GET \
  2. --url http://backendless-dev.local:9000/<appId>/<apiKey>/data/<tableName>;

For more information, please see our documentation

https://backendless.com/docs/android/doc.html