pub fn write_grid_data(tr: &Transaction, tile_id: TmsTileId, key: &str, data: &str) -> rusqlite::Result<()> {
    let mut insert_grid_data = tr.prepare_cached(
        "INSERT INTO grid_data (zoom_level, tile_column, tile_row, key_name, key_json) VALUES (?1, ?2, ?3, ?4, ?5)",
    )?;
    insert_grid_data.execute(params![tile_id.z(), tile_id.x(), tile_id.y(), key, data])?;
    Ok(())
}
/// Writes [UTFGrid](https://github.com/mapbox/utfgrid-spec) data for the given tile and key.
Writes [UTFGrid] data for the given tile and key.
Writes [ UTFGrid ] data for the given tile and key .
pub fn write_grid_data(tr: &Transaction, tile_id: TmsTileId, key: &str, data: &str) -> rusqlite::Result<()> {
    let mut insert_grid_data = tr.prepare_cached(
        "INSERT INTO grid_data (zoom_level, tile_column, tile_row, key_name, key_json) VALUES (?1, ?2, ?3, ?4, ?5)",
    )?;
    insert_grid_data.execute(params![tile_id.z(), tile_id.x(), tile_id.y(), key, data])?;
    Ok(())
}
pub fn write_grid_data ( tr : & Transaction , tile_id : TmsTileId , key : & str , data : & str ) -> rusqlite :: Result < ( ) > { let mut insert_grid_data = tr . prepare_cached ( " " , ) ? ; insert_grid_data . execute ( params ! [ tile_id z ( ) tile_id x ( ) tile_id y ( ) key data ] ) ? ; Ok ( ( ) ) }
Writes [UTFGrid](https://github.com/mapbox/utfgrid-spec) data for the given tile and key.
Writes [ UTFGrid ] ( https : // github . com / mapbox / utfgrid - spec ) data for the given tile and key .
tr
&Transaction
tile_id
TmsTileId
key
&str
data
&str