Data
Find the schema with name tests and only select id, name and transitions
tests and only select id, name and transitionsconst schema = await sdk.data.schemas.findByName("tests", {
rql: rqlBuilder().select(["id", "name", "transitions"]).build(),
});
console.log(schema.transitions);
// [{ id: '1', name:'trans1' }, { id: '1', name: 'trans2'}]
console.log(schema.transitionsByName);
/* {
trans1: {
id: '1',
name: 'trans1'
},
trans2: {
id: '2',
name: 'trans2'
}
} */Find a document with custom data typing:
Transition a document based on data.deviceUid
data.deviceUidFind all schemas
Find all schemas with Iterator
Custom Iterator
Find with pagination
Last updated