Logo da Alura
Data >

Course of Datomic Queries: Identity, navigation and nested queries

Course summary

  • Use your own unique identifiers
  • Make relationships between entities
  • Use forward e backward navigation in your queries
  • Use nested maps e aggregations
  • Learn how to use nested queries
  • Work with transactions as entities

Target Audience

Who already knows Datomic and would like to advance its use.

Related Content

Courses of Data

Already a student?

Start the course now

10h

To conclusion

49

Activities

219

Minutes of video

119

Students in this course

8.9

Grade for this course

Certificate of participation

Instructors

Detailed content

  1. Identity and Unique Identifiers

    • Introduction
    • Before we begin
    • Our First Datomic Console Session
    • Brief Warning about Console Caching
    • Product by ID
    • Defining our own unique identifiers
    • Querying using Lookup Refs
  2. Uniqueness on inserts and updates

    • Unique identifiers, Inserts and Updates
  3. Referencing entities

    • Category Schema Definition
    • Referencing other entities
    • Cleanup the code
  4. Forward and backward navigation

    • Reference Lookups
    • Products by category name
    • Forward Navigation
    • Backwards navigation
  5. Nested maps and aggregations

    • Nested References and Lookups
    • Our first Aggregation
    • Summary by category
  6. Nested queries and transactions

    • Most expensive products in a naive way
    • Most expensive Products using nested queries
    • Transactions as Entities
    • Storing meta-information in a Transaction
    • Querying by meta-information in a Transaction
    • Conclusion

Don't study with us yet?

Invest in your career!

Start now