rom-sql icon indicating copy to clipboard operation
rom-sql copied to clipboard

SQL support for rom-rb

Results 67 rom-sql issues
Sort by recently updated
recently updated
newest added

## Describe the bug When using `by_pk` with one value while the table has composite primary key, ROM can raise stack overflow error. ## To Reproduce - Create a table...

bug
help wanted

## Describe the bug I'm trying to select_append a boolean from a subquery (here just rendered as `TRUE` for simplicity) in my app, which is built on SQLite. For background,...

bug
help wanted

## Describe the bug Using `#last` on a Relation, after a using `#combine`, ignores the `combine` and just returns the regular tuple. ## To Reproduce ```ruby require "rom" Types =...

bug
help wanted

I discovered this bug the other week. If you call `join` with a relation object, `table_alias` doesn't work at all. It only works with the name a symbol. Note this...

## Describe the bug I have table `books` with many-to-many relationship with `authors` via `book_authors`. However, I also have a column `author_id` on `books` to denote the main author. When...

bug
help wanted

During the investigation for #423 I discovered that for SQLite and MySQL (or basically for everything aside from PostgreSQL) the read types are applied twice. This works well if the...

## Describe the bug Using `where { type.is(...) }` raises `ArgumentError: wrong number of arguments (given 0, expected 1)`. ## To Reproduce Run script below: ```ruby require 'bundler/inline' gemfile do...

bug
help wanted