File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
test/integration/next/tests/types Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -117,13 +117,3 @@ type Database = {
117117 >
118118 > ( true )
119119}
120-
121- // should default to postgrest 12 for untyped client
122- {
123- const pg12ServerClient = createServerClient ( 'HTTP://localhost:3000' , '' )
124- const res12Server = await pg12ServerClient . from ( 'shops' ) . update ( { id : 21 } ) . maxAffected ( 1 )
125- const pg12BrowserClient = createBrowserClient ( 'HTTP://localhost:3000' , '' )
126- const res12Browser = await pg12BrowserClient . from ( 'shops' ) . update ( { id : 21 } ) . maxAffected ( 1 )
127- expectType < typeof res12Server . Error > ( 'maxAffected method only available on postgrest 13+' )
128- expectType < typeof res12Browser . Error > ( 'maxAffected method only available on postgrest 13+' )
129- }
You can’t perform that action at this time.
0 commit comments