We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.27.0
I think nullable vectors should map to a *pgvector.Vector? The current code doesn't work for nil vectors:
*pgvector.Vector
Error=can't scan into dest[7]: unsupported data type: <nil>
Which seems to map the scan code for pgvector:
func (v *Vector) Scan(src interface{}) (err error) { switch src := src.(type) { case []byte: return v.Parse(string(src)) case string: return v.Parse(src) default: return fmt.Errorf("unsupported data type: %T", src) } }
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Version
1.27.0
What happened?
I think nullable vectors should map to a
*pgvector.Vector
? The current code doesn't work for nil vectors:Which seems to map the scan code for pgvector:
Relevant log output
No response
Database schema
No response
SQL queries
No response
Configuration
No response
Playground URL
No response
What operating system are you using?
No response
What database engines are you using?
No response
What type of code are you generating?
No response
The text was updated successfully, but these errors were encountered: