How to Connect With External MySQL Servers (Part 2: Insert & Update Operations)
by Kiran5mJanuary 20th, 2021 Too Long; Didn't Read
This is the second part of the series where we create a service to interact with MySQL server in Rails using MySQL2 gem. We will be adding additional methods to help us perform insert and update operations to MySQL server using Myserve gem. Next week we will be learning how we can perform queries with the prepared statement which helps us to avoid SQL injection issues. You will be able to perform basic queries in the external. database using the. service file: "Perform basic query: select, insert, update and perform transaction," "Prepared statement"