Quantcast
Channel: Is it possible to use a table without primary key in diesel? Rust - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by weiznich for Is it possible to use a table without primary key in...

Tables without primary key are not supported by diesel, because they are bad practice from a database point of view. In almost all cases there is some combination of columns that form a natural primary...

View Article


Is it possible to use a table without primary key in diesel? Rust

I am new to Rust and I am making an API using Diesel and Actix-web. I have a DB in pgsql and mongodb and I use diesel 1.4.4 only for pgsql.First, I did a test creating a DB with its tables and its...

View Article
Browsing all 2 articles
Browse latest View live