Search code examples
angularjsbaqend

How to save data into JsonObject field in Baqend?


I have a field type JsonObject in Baqend. How can I save data with it's SDK ?


Solution

  • you have to set the field to your JsonObject. For example:

    let obj = new DB.Test();
    obj.json = { "foo": "bar" };
    obj.save();