Fork me on GitHub
#xtdb
<
2023-12-16
>
seancorfield05:12:21

They're all missing .html on the end.

jarohen07:12:58

thanks @emil0r, should all be fixed now 🙏

jarohen07:12:48

trailing slash/redirect issues bite again - I really miss the days of all URLs just having .html on the end... :face_with_rolling_eyes:

Stef Coetzee14:12:33

Having a blast working through https://docs.xtdb.com/static/learn-xtql-today-with-clojure.html, thanks for putting it together! It's seems ? as logic-variable-name prefix (i.e. ?movie-title) causes an error:

; Execution error (IllegalArgumentException) at xtdb.error/illegal-arg (error.clj:13).
; Unknown symbol: '?movie_title'

Stef Coetzee14:12:15

Following along with the tutorial, this occurred in the Parameterized queries section, using the following code:

(q '(-> (unify
           (rel $earnings-data [?movie-title ?box-office-earnings])
           (from :persons [{:xt/id ?p} {:person/name $director}])
           (from :movies [{:movie/director ?p} {:movie/title ?movie-title}]))
        (return ?movie-title ?box-office-earnings))
     {:args {:director "Ridley Scott"
             :earnings-data earnings-data}})
Where earnings-data is the array of earnings data provided.