Skip to main content

primary_key_string

Function primary_key_string 

Source
pub fn primary_key_string(
    table: &str,
    primary_key: &[impl AsRef<str>],
    row: &Object,
) -> Result<String, InvalidPrimaryKeyValue>
Expand description

toPrimaryKeyString: e/<table>/<id>. A single-column key is the value as JS String() prints it; a compound key is the decimal h128 of the JSON array of its values.