Project

query_exec

0.0
No commit activity in last 3 years
No release in over 3 years
This gem is used to execute SQL queries in our rails application. Sample syntax result=QueryExec.run('select * from users'). Using this we can execute all the commands like select,update,create,delete.,etc
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme
Query Exec Gem:

This gem is used to execute SQL commands in our Rails application.

Installation:

gem install query_exec

or

add gem 'query_exec'  to your gem file.


Example of Usage:

QueryExec.run('select * from users') # gives all the users from users table

QueryExec.run('update users set name='xxx' where id=2')  # updates user with name='xxx' which is having id 2.

Using this gem we can do all the SQL operatons.