You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 9, 2025. It is now read-only.
A clear and concise description of what the bug is.
type overflow bigint, seems that the client lib cannot handle bigint which causes some unexpected behaviour (overflow?)
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
SQL create table test ( myfield int8 ); insert into test (myfield) values (23849208278400758)
JS
import { createClient } from '@supabase/supabase-js'
const supabaseUrl: string = process.env.SUPABASE_URL ?? ''
const supabaseKey: string = process.env.SUPABASE_KEY ?? ''
supabase = createClient(supabaseUrl, supabaseKey)
console.log(
await supabase
.from('test')
.select('myfield')
.eq('myfield', '23849208278400758') // quotes->string as the number wont fit in 32bit mem);
);
Expected behavior
expected result to be 23849208278400758 or "23849208278400758" (automatic type conversion to prevent overflows
observed result 23849208278400760
Screenshots
System information
OS: [Windows]
Browser (if applies chrome
Version of supabase-js: 1.35.6"
Additional context
note: causes difficult to find issues
note: root cause of issue unknown (dep?).
quasar v2
nathanpbell, kgoedecke, johanneskares, stoicskyline, caracal7 and 2 more