updateProfileMapping #
Updates the internal profile storage mapping.
Future<Map<String, dynamic>> updateProfileMapping(
Map<String, dynamic> mapping)
Property | Type | Description |
---|---|---|
mapping | Map<String, dynamic> | Profile collection mapping definition |
Return #
Returns an object representing the new mapping.
Usage #
final result = await kuzzle.security.updateProfileMapping({
'properties': {
'description': { 'type': 'text' }
}
});
/*
{
properties: {
description: { type: 'text' }
}
}
*/
Edit this page on Github(opens new window)