Skip to content

Instantly share code, notes, and snippets.

@FCO
Created October 27, 2019 11:01
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/04f6e837f9ceae97552442c55bf6f988 to your computer and use it in GitHub Desktop.
Save FCO/04f6e837f9ceae97552442c55bf6f988 to your computer and use it in GitHub Desktop.
redable
use Post; .say for Post.^all.sort: { .title, .body } # xinming, I don’t remember if it’s implemented...
Post.new(id => 2, title => "Is it working?", body => "I think it is", deleted => 0, created => DateTime.new(2019,10,22,12,12,8.809766), tags => Set.new(""))
Post.new(id => 1, title => "test1", body => "body-test1", deleted => 0, created => DateTime.new(2019,10,22,12,0,19.196347), tags => Set.new(""))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment