/lib/mongofy/collection.fy

http://github.com/fancy-lang/mongo.fy · Unknown · 9 lines · 8 code · 1 blank · 0 comment · 0 complexity · 785869abc3a53905c39c12af096f9ebe MD5 · raw file

  1. class Mongo Collection {
  2. ruby_alias: 'count
  3. ruby_alias: 'find
  4. ruby_alias: 'remove
  5. def insert: entry {
  6. insert(entry)
  7. }
  8. }