I’m trying to simple fetch on a bucket,
where later on i do selective copy (on the fly).
U tried the following:
result = cluster_cb_047.query("SELECT * FROM `table_name` " )
for row in result:
....logic
Question:
Is there a simple way fetching the full bucket without using of query?
cb = cluster_cb_047.bucket(buckt_name)
cb_coll = cb.default_collection()
# Couldn't extract the data in this way
The idea in general is to read bucket on source DB
and while iterating on the json → insert to target DB.
I can’t use xdcr or cbq commands.