Skip to main content

execute_copy_to

Function execute_copy_to 

Source
pub fn execute_copy_to(
    storage_lock: &Arc<RwLock<dyn QueryStorage>>,
    space_name: &str,
    target: &CopyTarget,
    file_path: &str,
    header: bool,
    delimiter: u8,
) -> Result<u64, QueryError>
Expand description

Execute a COPY TO statement and return the number of rows exported.

Vertices are written as vid followed by the tag’s schema property columns; edges as src, dst followed by the edge-type property columns. NULL values become empty cells.