electric-sql / electric-sql/phoenix_sync

sync_render does not work with enum fields

Open
#128 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Elixir
Stars
290
Forks
17
PR merge metrics
No merged PRs in 30d

Description

enum fields cause errors when used in a `where` clause with `sync_render`.

`execute "CREATE TYPE todo_status AS ENUM ('pending', 'running', 'paused', 'completed', 'skipped')"`

```
sync_render(
conn,
params,
from(todo in Todo, where: todo.status in ["pending", "running", "paused"])
)
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.