'Distinct function for tables in AggreGate
I have a table with counterparties, and I need to select a list of counterparties paying for a certain period. It is necessary to remove duplicate entries from the payment table in the Name field. Tell me how can this be done? (I have the AggreGate server version 5.61.27 installed) enter image description here
Solution 1:[1]
I fixed it by sending to the dispatch the image.uri data directly, instead of saving it in a local state.
const handlerTakeImage = async () => {
const isCameraOk = await verifyPermissions();
if (!isCameraOk) return;
const image = await ImagePicker.launchCameraAsync({
allowsEditing: true,
aspect: [16, 9],
quality: 0.8,
});
dispatch(saveImage(image.uri, props.itemId))
};
I don't know if it's a good solution. I'm open for other options.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Javier Arancibia Reyes |
