This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def list_plan_types_paginated( | |
search, | |
order_by \\ "id", | |
direction \\ "desc", | |
limit \\ 50, | |
cursor_after \\ nil, | |
cursor_before \\ nil, | |
opts \\ [] | |
) do | |
from(p in PlanType, as: :plan_type) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def list_plan_types_paginated( | |
search, | |
order_by \\ "id", | |
direction \\ "desc", | |
limit \\ 50, | |
cursor_after \\ nil, | |
cursor_before \\ nil, | |
opts \\ [] | |
) do | |
from(p in PlanType, as: :plan_type) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WITH active_enforcement AS ( | |
SELECT DISTINCT ON (en.company_id, en.store_id, en.created_at) | |
en.id, | |
en.company_id, | |
en.store_id, | |
en.enforcement_statuses_id | |
FROM enforcements en | |
WHERE en.enforcement_statuses_id IN (1, 2, 3, 4) | |
ORDER BY en.company_id, en.store_id, en.created_at DESC | |
), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WITH active_enforcement AS ( | |
SELECT DISTINCT ON (en.company_id, en.store_id, en.created_at) | |
en.* | |
FROM enforcements en | |
WHERE en.enforcement_statuses_id IN (1, 2, 3, 4) | |
ORDER BY en.created_at DESC | |
), | |
active_test_purchase AS ( | |
SELECT DISTINCT ON (tp.company_id, tp.store_id, tp.created_at) | |
tp.* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT s0."age_id", | |
Count(s0."id"), | |
s0."age_bucket" | |
FROM ( | |
SELECT sm0."id" AS "id", | |
CASE | |
WHEN age < 1 THEN 1 | |
WHEN age < 7 THEN 7 | |
WHEN age < 31 THEN 31 | |
ELSE NULL |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT s0."age_id", | |
Count(s0."id"), | |
s0."age_bucket" | |
FROM ( | |
SELECT sm0."id" AS "id", | |
CASE | |
WHEN age < 1 THEN 1 | |
WHEN age < 7 THEN 7 | |
WHEN age < 31 THEN 31 | |
ELSE NULL |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"attributes": { | |
"referrals": null, | |
"miscarriages": 19, | |
"notes": [], | |
"form": { | |
"id": "9b5716fd-a0bb-47d6-bf23-68b18acc0195", | |
"type": "medical:form" | |
}, | |
"room": null, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
warning: variable "seeker_company" is unused (if the variable is not meant to be used, prefix it with an underscore) | |
lib/nectarine_credit_api/credit/agreement_text.ex:156: NectarineCredit.Credit.AgreementText.personal_guarantee_title_template/1 | |
warning: redefining @doc attribute previously set at line 10. | |
Please remove the duplicate docs. If instead you want to override a previously defined @doc, attach the @doc attribute to a function head (the function signature not followed by any do-block). For example: | |
@doc """ | |
new docs | |
""" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Compiling 128 files (.ex) | |
warning: variable "assigns" is unused (if the variable is not meant to be used, prefix it with an underscore) | |
lib/nectarine_credit_api_web/plugs/sentry_context.ex:8: NectarineCreditWeb.Plugs.SentryContext.call/2 | |
warning: variable "last_updated" is unused (if the variable is not meant to be used, prefix it with an underscore) | |
lib/nectarine_credit_api/external/finicity/auth_token_service.ex:15: NectarineCredit.External.Finicity.AuthTokenService.init/1 | |
warning: variable "token" is unused (if the variable is not meant to be used, prefix it with an underscore) | |
lib/nectarine_credit_api/external/finicity/auth_token_service.ex:15: NectarineCredit.External.Finicity.AuthTokenService.init/1 |
NewerOlder