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

SQL support for rom-rb

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

Docs need to further flesh out what `Relation#wrap` is used for and how it's used in comparison with `Relation#combine` #### Notes - wrap should be used when you have an...

help wanted
docsite

There's no information about overridding `dataset` using a block, ie: ``` ruby require 'rom-sql' rom = ROM.container(:sql, 'sqlite::memory') do |config| config.gateways[:default].create_table :users do primary_key :id column :name, String column :email,...

help wanted
docsite

Refs rom-rb/rom-rb.org#270

help wanted
docsite

Refs https://github.com/rom-rb/rom-sql/issues/319

help wanted
docsite

https://rom-rb.org/4.0/learn/sql/associations/#overridding-associations-with-custom-views > See Combine keys vs join keys sub-section to learn more Looks like a missing link. I couldn't find this section. [Discussion](https://rom-rb.zulipchat.com/#narrow/stream/191800-general/topic/Documentation.20(rom-rb.2Eorg)/near/163450699)

help wanted
docsite

*doc_page:* [core/relations](http://rom-rb.org/4.0/learn/core/relations/) Relation views have basic documentation but only of simple examples. Documentation should include some advanced usecase examples to better flesh out the power of the feature. ## Example...

help wanted
docsite

**Describe the bug** Given a standard one-to-many relationship `Posts` and `Comments`, where `comments` table has a `post_id` without a foreign-key constraint, the usage of `combine` will map _every relationship_ to...

bug
help wanted

**Describe the bug** In postgres, citext arrays (`citext[]`) are not supported consistantly with text arrays (`text[]`). Both types should be usable. Currently, `text[]` is supported as expected; when values are...

bug

Creating record in table with pg range column does not work. Example: https://github.com/cutalion/rom_experiments/blob/fdae88c28d7f5b59ccf9a40de8a4fc0916b9c2c5/pg_range.rb ```ruby def try(name) yield puts "#{name} works" rescue => e puts "#{name} does not work" puts e.message...

bug

It seems that pg_range extension does not work on inserting records to the database. ```ruby rom.relations.pg_ranges.changeset(:create, range: Date.today..(Date.today + 10)).commit ``` ``` /home/cutalion/.rvm/gems/ruby-2.4.1/gems/rom-sql-2.4.0/lib/rom/sql/extensions/postgres/types/range.rb:80:in `block (2 levels) in range': undefined method...

bug
discussion