Simon

Results 205 comments of Simon

Describing the trace call for the `Repo.all` function to find out where exactly the `all` function from our adapter will be called and with which parameter structure - `Repo.all(queryalbe, opts)`:...

Trying to recreate a similar subquery to the one currently on alog: ``` sub = from (m in subquery(a1)), distinct: m.last_name, order_by: m.first_name, select: m query = from a in...

Trying to apply `plan` or `plan_sources` from `Ecto.Query.Planner` returns other errors. I will instead - understand how the Ecto.Query type/struct is created, see https://hexdocs.pm/ecto/Ecto.Query.html#t:t/0 ![image](https://user-images.githubusercontent.com/6057298/53033555-37917200-3469-11e9-9afa-32998c6cf7ad.png) - Then try to replicate...

My latest attempt was to try to reproduce the logic of the `all` function from the Postgres adapter: ``` def all(query) do sources = create_names(query) {select_distinct, order_by_distinct} = distinct(query.distinct, sources,...

Running the tests will run the migrations which will run `Repo.all`. At the moment we are adding `distinct on` on all the queries but I don't think it is needed...

Given a query similar to: we can retrieve the different part of the query with the following regex: ```elixir Regex.named_captures(~r/(\bSELECT\b)\s(?.*)\sFROM\s(?.*)\sas\s(?.*)(?.*)/i, query) ``` - the `?` give a name to the...

I think the alog `all` query is now ready: ![image](https://user-images.githubusercontent.com/6057298/53890621-735b3880-4020-11e9-84cf-8a23592d630c.png) I've recreated the following structure for the query: ```elixir # SELECT # s0."id", # s0."name", # s0."entry_id", # s0."deleted", #...

Same feeling: > It took me a while to understand the workflow of the app after not working on it for a while see https://github.com/dwyl/auth/issues/153#issue-1028796164 So I'm going of the...

The title meta tag is defined as `Search our collection | Science Museum Group Collection` on the search result pages. From https://support.google.com/webmasters/answer/35624?hl=en Goggle doesn't seem to like repeated titles (the...

The url on the first issue is: http://collection.sciencemuseum.org.uk/search/gallery/national-railway-museum,-warehouse but I think it is mal formed (the comma shouldn't be used to separate museum and gallery parameter values in the url)...