### Checklist <!-- Please make sure you check all these items before submitting your feature request. --> - [x] There are no similar issues or pull requests for this yet. - [ ] I discussed this idea on the [community chat](https://gitter.im/encode/community) and feedback is positive. ### Is your feature related to a problem? Please describe. I want to be able to make a ByteArray field for my projects. <!-- A clear and concise description of what you are trying to achieve. Eg "I want to be able to [...] but I can't because [...]". --> ## Describe the solution you would like. For example, i would like to have the BYTEA Type in ORM. Eg: ```python import orm ... class Example(orm.Model): tablename = "example" registry = metadata fields = { "user_id": orm.BigInteger(primary_key=True), "example_bytes": orm.ByteArray() } ``` And when i do for example, ```python field_ex = Example # in async func data = await field_ex.objects.get(user_id=1) return data.example_bytes # this would return python bytes ``` <!-- A clear and concise description of what you would want to happen. For API changes, try to provide a code snippet of what you would like the API to look like. --> ## Describe alternatives you considered <!-- Please describe any alternative solutions or features you've considered to solve your problem and why they wouldn't solve it. --> I considered using raw asyncpg which i am, but i would like the bytearray field in ORM so i can use it. ## Additional context <!-- Provide any additional context, screenshots, tracebacks, etc. about the feature here. -->
Checklist
Is your feature related to a problem? Please describe.
I want to be able to make a ByteArray field for my projects.
Describe the solution you would like.
For example, i would like to have the BYTEA Type in ORM.
Eg:
And when i do for example,
Describe alternatives you considered
I considered using raw asyncpg which i am, but i would like the bytearray field in ORM so i can use it.
Additional context