cyberdelia / sequel-caller-location

Add comments or the caller location to your SQL

Home Page:https://rubygems.org/gems/sequel_caller_location

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

DB.extension(:caller_location)

About

Add comments or the caller location to your SQL

https://rubygems.org/gems/sequel_caller_location

License:MIT License


Languages

Language:Ruby 100.0%