Sha256: c9d4d341f8de4f9ad41e27a5f28346ecee94e91e51ddb004b42d7e77ba5f9ef1
Contents?: true
Size: 324 Bytes
Versions: 2
Compression:
Stored size: 324 Bytes
Contents
module Rasti module DB module Helpers module WithSchema private def with_schema(table, field=nil) qualified_table = schema ? Sequel.qualify(schema, table) : table field ? Sequel.qualify(qualified_table, field) : qualified_table end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rasti-db-0.2.0 | lib/rasti/db/helpers.rb |
rasti-db-0.1.0 | lib/rasti/db/helpers.rb |