Skip to main content

key

Macro key 

Source
macro_rules! key {
    ($($val:expr),* $(,)?) => { ... };
}
Expand description

Represents a primary key or index key for Cloud Spanner.

ยงExample

use google_cloud_spanner::key;

let key = key![1_i64, "Alice"];

Keys are constructed by appending values in the correct column order.