Skip to content

Instantly share code, notes, and snippets.

@FCO
Created October 26, 2019 19:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FCO/fe17b251363660ecf90ad3f9fe8b7990 to your computer and use it in GitHub Desktop.
Save FCO/fe17b251363660ecf90ad3f9fe8b7990 to your computer and use it in GitHub Desktop.
redable
https://www.irccloud.com/pastebin/raw/QUqMTYof/
M2.new(m1_id => 1, id => 0)
M2.new(m1_id => 1, id => 1)
M2.new(m1_id => 1, id => 2)
M2.new(m1_id => 1, id => 3)
M2.new(m1_id => 1, id => 4)
M2.new(m1_id => 1, id => 5)
M1.new(id => 1, name => "a")
6
M2::ResultSeq.new(chain => Red::AST::Chained.new(filter => Red::AST::Eq.new(op => "=", returns => Bool, left => Red::Column.new(attr => m2.m1_id, attr-name => "m1_id", id => Bool::True, auto-increment => Bool::False, references => -> ;; $_? is raw { #`(Block|94916703907512) ... }, nullable => Bool::False, name => "m1_id", name-alias => "m1_id", type => Str, inflate => { ... }, deflate => { ... }, computation => Any, model-name => Str, column-name => Str, require => Str), right => Red::AST::Value.new(value => 1, column => Red::Column, type => Int), bind-left => Bool::False, bind-right => Bool::True), limit => Int, offset => Int, post => Callable, order => Array[Red::AST].new(), group => Array[Red::AST].new(), table-list => [], next => Red::AST::Chained), update => (my Red::AST %), comments => Array[Red::AST::Comment].new())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment