3 ms·
SADD needs to return a value indicating whether the member was added or not, so I don't think you could avoid a round trip, since FDB doesn't have a "set if not
by atombender 4y ago
SADD needs to return a value indicating whether the member was added or not, so I don't think you could avoid a round trip, since FDB doesn't have a "set if not exists".
- spullara 4y agoAh, I see. Bummer. Even if it had a set if not exists you would still need a transaction for it.