https://github.com/cyberdelia/sequel-caller-location
Add comments or the caller location to your SQL
https://github.com/cyberdelia/sequel-caller-location
sequel sql
Last synced: about 1 year ago
JSON representation
Add comments or the caller location to your SQL
- Host: GitHub
- URL: https://github.com/cyberdelia/sequel-caller-location
- Owner: cyberdelia
- License: mit
- Created: 2016-09-28T19:37:10.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-09-24T01:35:36.000Z (over 4 years ago)
- Last Synced: 2025-03-27T05:41:34.622Z (about 1 year ago)
- Topics: sequel, sql
- Language: Ruby
- Homepage: https://rubygems.org/gems/sequel_caller_location
- Size: 28.3 KB
- Stars: 9
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sequel Caller Location
Set the caller location as comments to your SQL.
## Installation
Install it directly using gem:
```
gem install sequel_caller_location
```
Or adding it to your ``Gemfile``:
```
gem "sequel_caller_location"
```
## Usage
## Configure
A straightforward example, this will let sequel_caller_location add the caller location
automatically:
```ruby
DB.extension(:caller_location)
```