v1.3.0
Better support for using composite primary keys:
- New enum in this crate:
tables::PrimaryKeySingle(String):let single: PrimaryKey = "hello world".into()Composite(BTreeMap<String, String>):let composite: PrimaryKey = [("evt_tx_hash","hello".to_string()),("evt_index","world".to_string())].into()
Breaking changes:
- The
Rows.pksfield is not public anymore. create_row(),update_row()anddelete_row()now require aPrimaryKeyinstead of aString. This should work directly with aString,&Stringor&str.