Hi i have some problems when switching from Mysql.Data to MySqlConnector
var insertProductCmd = new MySqlCommand($"INSERT INTO {Tables.PlayerProductsTable} (product_id, player_id, product_count) VALUES (@productID, @playerID, 0) " + $"ON DUPLICATE KEY " + $"UPDATE product_count=GREATEST(0, product_count-@productCount)", conn, transaction);
This command throws an product_count cannot be null
This doesnt happen on MySql.Data, what am i missing?
Second problem is #562
Hi i have some problems when switching from Mysql.Data to MySqlConnector
var insertProductCmd = new MySqlCommand($"INSERT INTO {Tables.PlayerProductsTable} (product_id, player_id, product_count) VALUES (@productID, @playerID, 0) " + $"ON DUPLICATE KEY " + $"UPDATE product_count=GREATEST(0, product_count-@productCount)", conn, transaction);This command throws an
product_countcannot be nullThis doesnt happen on MySql.Data, what am i missing?
Second problem is #562