You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
currently, the following query is triggered ( before_action)
SELECT "spree_stores".*
FROM "spree_stores"
WHERE "spree_stores"."deleted_at" IS NULL AND (url like '%api-production.bookme.plus%')
ORDER BY "spree_stores"."created_at" ASC
LIMIT $1
let's optimize:
return the like to use an exact match
or we can just return the first store.
and we can cache the store.
Using the exact match may not work if we use multiple domains ( images.bookme.plus, static.bookme.plus)
The text was updated successfully, but these errors were encountered:
currently, the following query is triggered ( before_action)
let's optimize:
and we can cache the store.
Using the exact match may not work if we use multiple domains ( images.bookme.plus, static.bookme.plus)
The text was updated successfully, but these errors were encountered: