Julian
Julian
BBuildShip
Created by Julian on 2/28/2022 in #💬・general
Scheduled tasks in rowy
@Shams is there currently a way to deploy this via rowy cloud functions
3 replies
BBuildShip
Created by Julian on 2/28/2022 in #💬・general
Question to the rowy documentation - Doc Snyc
in general I think, rather add more comments to your example code to make everything super clear. This wont harm the people who would understand it event without these comment but it might save you questions and helps the people who are still not that familiar with the firestore cloud function and this environment. Thanks either way!!! 🙂
12 replies
BBuildShip
Created by Julian on 2/28/2022 in #💬・general
Question to the rowy documentation - Doc Snyc
I was a little confused by the comment "a list of string of column names" --> I thought these are the names of the field I would like to snych but I did not think of them as the names of the fields in the doc where I want to send data to. The attribute name "fieldsToSnych" still to confuses me a littel. For me "fieldsToSynchTo" would be more clear. But maybe thats only me (maybe your can add to the comment / a list of string of column names of the target doc
12 replies
BBuildShip
Created by Julian on 2/28/2022 in #💬・general
Question to the rowy documentation - Doc Snyc
awesome, thanks!
12 replies
BBuildShip
Created by Julian on 2/28/2022 in #💬・general
Question to the rowy documentation - Doc Snyc
thanks! Maybe I miss a little sleep 😄 but maybe you can add this to your docs. THis might help it to understand it
12 replies
BBuildShip
Created by Julian on 2/28/2022 in #💬・general
Question to the rowy documentation - Doc Snyc
---> Givenname represents this in your example, right?
12 replies
BBuildShip
Created by Julian on 2/28/2022 in #💬・general
Question to the rowy documentation - Doc Snyc
Sorry...I guess I just understood it.
12 replies
BBuildShip
Created by Julian on 2/28/2022 in #💬・general
Question to the rowy documentation - Doc Snyc
thanks, so I understand correct, that the fieldkey of the doc (where I want to synch data to) has to have the same name/fieldkey? In a example of synchronizing data to a different doc in my database I dont see where I can tell rowy what the (different) name of the column is, where I want to have this data synchronized.
12 replies
BBuildShip
Created by Julian on 2/28/2022 in #💬・general
Question to the rowy documentation - Doc Snyc
const extensionBody: DocSyncBody = async({row, db, change, ref}) => {
return ({
fieldsToSync: ["firstName"],
row: row,
targetPath: `secondaryCollection/${ref.id}`, //
})
}
const extensionBody: DocSyncBody = async({row, db, change, ref}) => {
return ({
fieldsToSync: ["firstName"],
row: row,
targetPath: `secondaryCollection/${ref.id}`, //
})
}
And do I understand this example code correct? In the example, I would synch the firstName field of my current doc to the id field of the current doc? (since ref represents my current doc) It confuses me and I guess I dont understand it correctly since the idea is to snych different docs I guess
12 replies