{"body":"raku -MRed -e '\n\nmodel Person {\n    has Int $.id    is id;\n    has Str $.name  is column;\n    has Int $.age   is column;\n    has Str $.email is unique;\n}\n\n\nred-defaults \"SQLite\";\n\nPerson.^create-table;\n\nfor [\n    %(:1id, :name<Alice>, :30age, :email<alice@example.com>),\n    %(:2id, :name<Bob>,   :25age, :email<bob@example.com>  ),\n] -> %data {\n    Person.^create: |%data\n}\n\nsay \"\\nAll entries: \";\n.say for Person.^all;\n\nsay \"\\nEntries with name starting with `A`:\";\n.say for Person.^all.grep: *.name.starts-with: \"A\";\n'","name":"","extension":"txt","url":"https://www.irccloud.com/pastebin/h3IhqGef","modified":1751236273,"id":"h3IhqGef","size":521,"lines":27,"own_paste":false,"theme":"","date":1751236273}