db_update_field_string: Build a string to update a field in a database

Description Usage Arguments Value Examples

View source: R/db.R

Description

Build a string to update a field in a database

Usage

1
db_update_field_string(field_name, field_value, append_comma = TRUE)

Arguments

field_name

Character

field_value

Numeric or string

append_comma

TRUE append a ", " if there more than one field value

Value

A string in the format "field_name = 'field_value'"

Examples

1
query <- update_field_string("pr2_accession", "ZZ220100", append_comma=FALSE)

vaulot/dvutils documentation built on Nov. 20, 2021, 11:01 a.m.