Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. jay> Get(Index("by_prop"))
  2. { ref: Index("by_prop"),
  3. ts: 1560970634960000,
  4. active: true,
  5. partitions: 1,
  6. name: 'by_prop',
  7. source: Databases(),
  8. terms: [ { field: [ 'data', 'prop' ] } ] }
  9. jay> Get(Database("bob"))
  10. { ref: Database("bob"),
  11. ts: 1560970374730000,
  12. name: 'bob',
  13. data: { prop: 'cool' } }
  14. jay> Paginate(Match(Index("by_prop"), "cool"))
  15. { data: [ Database("bob") ] }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement