datalevin

euccastro 2025-02-17T14:40:20.688879Z

I'm having the following strange behavior in a db that otherwise seems to work well (freshly created with create-conn and populated with fill-db):

(dtlv/entity db 1)
  ;; =>
  #_{:request-id "0c1a5a52-d143-44f2-ab3a-ddce69ec7ae6",
     ;; other attributes elided
     :timestamp "2025-02-17 00:05:29,976"}

  (first (dtlv/seek-datoms db :ave :timestamp))
  ;; =>
  #datalevin/Datom [1 :timestamp "2025-02-17 00:05:29,976"]

  (dtlv/datoms db :eav 1)
  ;; =>
  [#datalevin/Datom [1 :request-id "0c1a5a52-d143-44f2-ab3a-ddce69ec7ae6"]
   #datalevin/Datom [1 :stage :start]
   #datalevin/Datom [1 :method :post]
   ,,, more elided]

  (dtlv/seek-datoms db :eav 1)
  ;; => []
Am I missing something? Admittedly, datoms is all I really need, so this doesn't inconvenience me; I just stumbled into this behavior by misusing seek-datoms. Posting this just in case it is a bug.

Huahai 2025-02-17T16:47:38.206869Z

Confirmed it is a bug.

Huahai 2025-02-17T16:54:22.385709Z

Thx for reporting.

Huahai 2025-02-17T18:57:25.821569Z

fixed in master branch

🙏 1