Macro yottadb::make_key[][src]

macro_rules! make_key {
    ( $var:expr $(,)? ) => { ... };
    ( $var: expr $( , $subscript: expr)+ $(,)? ) => { ... };
}

Provides a Key object for the given subscripts.

See the YottaDB documentation for more information about how YottaDB handles keys.

Examples

Make a simple key:

let my_key = make_key!("^MyTimeSeriesData", "5");

Keys must have at least one variable:

let mut key = make_key!();