tokio-rs / rdbc

Rust DataBase Connectivity (RDBC) :: Common Rust API for database drivers
Apache License 2.0
566 stars 25 forks source link

Use 0-based instead of 1-based indices #30

Closed andygrove closed 4 years ago

golddranks commented 4 years ago

Thanks! I was just bitten by this! (By writing 0..meta.num_columns()) I'm very glad that this project moves to 0-based indexes. The Rust ranges idiom works a lot better for them.