Advertisement
tbrowder

err.txt

Mar 19th, 2019
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.25 KB | None | 0 0
  1. SQL : SELECT
  2. person.first , person.id , person.last , person.notes , person.key
  3. FROM
  4. person
  5. BIND: []
  6. Hash % = {
  7. :first("Sally"),
  8. :id(1),
  9. :key("|abraham|sally|abraham\@example.com|sally\@example2.com|"),
  10. :last("Abraham"),
  11. :notes(Any)
  12. }
  13. Hash %cols = {
  14. :first(Red::Column.new(attr => person.first, attr-name => "first", id => Bool::False, auto-increment => Bool::False, references => Callable, nullable => Bool::False, name => "first", name-alias => "first", type => Str, inflate => { ... }, deflate => { ... }, computation => Any, model-name => Str, column-name => Str, require => Str)),
  15. :id(Red::Column.new(attr => person.id, attr-name => "id", id => Bool::True, auto-increment => Bool::True, references => Callable, nullable => Bool::False, name => "id", name-alias => "id", type => Str, inflate => { ... }, deflate => { ... }, computation => Any, model-name => Str, column-name => Str, require => Str)),
  16. :key(Red::Column.new(attr => person.key, attr-name => "key", id => Bool::False, auto-increment => Bool::False, references => Callable, nullable => Bool::False, name => "key", name-alias => "key", type => Str, inflate => { ... }, deflate => { ... }, computation => Any, model-name => Str, column-name => Str, require => Str)),
  17. :last(Red::Column.new(attr => person.last, attr-name => "last", id => Bool::False, auto-increment => Bool::False, references => Callable, nullable => Bool::False, name => "last", name-alias => "last", type => Str, inflate => { ... }, deflate => { ... }, computation => Any, model-name => Str, column-name => Str, require => Str)),
  18. :notes(Red::Column.new(attr => person.notes, attr-name => "notes", id => Bool::False, auto-increment => Bool::False, references => Callable, nullable => Bool::True, name => "notes", name-alias => "notes", type => Str, inflate => { ... }, deflate => { ... }, computation => Any, model-name => Str, column-name => Str, require => Str))
  19. }
  20. Red::Column %cols = Red::Column.new(
  21. attr => person.first,
  22. attr-name => "first",
  23. id => Bool::False,
  24. auto-increment => Bool::False,
  25. references => Callable,
  26. nullable => Bool::False,
  27. name => "first",
  28. name-alias => "first",
  29. type => Str,
  30. inflate => { ... },
  31. deflate => { ... },
  32. computation => Any,
  33. model-name => Str,
  34. column-name => Str,
  35. require => Str)
  36.  
  37. (:(Red::Driver::SQLite: Num $value, Instant :$to!, *%_),
  38. :(Red::Driver::SQLite: Str $value, DateTime :$to!, *%_),
  39. :(Red::Driver::SQLite: Num $value, Duration :$to!, *%_),
  40. :(Red::Driver::SQLite: Int $value, Duration :$to!, *%_),
  41. :(Red::Driver::SQLite: $value, :$to, *%_)
  42. )
  43.  
  44. Cannot resolve caller head(Person:U: ); none of these signatures match:
  45. (Any:D: *%_)
  46. (Any:D: Callable:D $w, *%_)
  47. (Any:D: $n, *%_)
  48. in code at /usr/local/people/tbrowde/mydata/tbrowde-home-bzr/perl6/perl6-repo-forks/Red/examples/case-study-1/../../lib/Red/ResultSeq/Iterator.pm6 (Red::ResultSeq::Iterator) line 41
  49. in method pull-one at /usr/local/people/tbrowde/mydata/tbrowde-home-bzr/perl6/perl6-repo-forks/Red/examples/case-study-1/../../lib/Red/ResultSeq/Iterator.pm6 (Red::ResultSeq::Iterator) line 29
  50. in block at query-db.p6 line 121
  51. in sub MAIN at query-db.p6 line 119
  52. in block <unit> at query-db.p6 line 20
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement