In the code studio I can use
cs.save() to create a new record. I can’t figure out how to do this however where I don’t want to set any properties in the record. The
data input is required for
cs.save(), and passing an empty value for this causes the function to return no result.
I have several examples where I need to do this because the record itself has no properties (for example a record that exists only to define a set of relationships, or an API request object). The way that I’ve been working around this so far is to add a “dummy” property to the object and set a value in that, but this seems a very basic thing to need to workaround and clutters up my code. Is there another way to do this? Something that I’m missing here?