Skip to content
Discussion options

You must be logged in to vote

It seems you are asking for two things:

Ability to arbitrarily map column to custom scalar type

This is not currently possible. If this feature is important to you, you may open a feature request.

Ability to arbitrarily cast a column to another type

There is no dedicated setting for this, however it can be achieved with the following workaround:

  • Rename the original id column to something like _id
  • Add a computed field that casts the bigint to the correct type, and name it id

I'm of course assuming your column to be mapped is named id, change this as required.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@gabegorelick
Comment options

@adas98012
Comment options

Answer selected by gabegorelick
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants