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' whic…
vijikumar55/query_exec
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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.
About
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' whic…
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published