CopyDatabin

CopyDatabin[bin]

creates a copy of a databin.

CopyDatabin[bin,options]

creates a copy with the specified options.

Details

  • CopyDatabin returns a Databin object with a new, universally unique ID.
  • In CopyDatabin[bin,], bin can be a Databin object or databin ID.
  • Any explicit options specified in CopyDatabin supersede options present in the databin.
  • If it is not specified explicitly, the Permissions option for the new databin has setting "Public".

Examples

open allclose all

Basic Examples  (1)

Make a copy of a databin:

Scope  (1)

Here is a databin with no write access:

Making a copy creates a new databin with write access:

This adds data to the new databin:

Properties & Relations  (1)

Data semantics are inherited from the original databin:

By default, the copy is given public permissions:

Permissions can be explicitly given:

Introduced in 2015
 (10.1)