https://supabase.com/ logo
Join Discord
Powered by
# help
  • s

    Scott P

    09/13/2021, 10:04 PM
    You probably don't want to be sharing your API key in a public discord
  • j

    jon.m

    09/13/2021, 10:22 PM
    is there a way to pass additional fields to auth.signup? As in a name? I have a trigger set up to create profiles on auth.users insert.
  • f

    ferminrp

    09/13/2021, 10:54 PM
    hey everyone! I'm having trouble finding something in the docs
  • f

    ferminrp

    09/13/2021, 10:54 PM
    I'm using the rest api and would like to add a modifier to the request for sorting the results
  • f

    ferminrp

    09/13/2021, 10:55 PM
    I've found that the librarie includes .order but I'm having trouble translating that into a url param
  • m

    mendesrenan5

    09/13/2021, 11:21 PM
    Did anyone have a problem with tables?
    s
    m
    • 3
    • 5
  • m

    mendesrenan5

    09/13/2021, 11:22 PM
    I have one that looks empty on the console (I've already changed browsers, opened in incognito mode, etc) Even a select * from returned nothing
  • m

    mendesrenan5

    09/13/2021, 11:23 PM
    But when I run the code client-side it returns its content... It's just a test table so no big deal, but: why? I added a new row to the table, did run the "select * from" again and now it returned the two previous entries and the new one. But still... nothing is shown on the dashboard My english is far from perfect but I hope you can get the point
  • m

    mendesrenan5

    09/13/2021, 11:24 PM
    As you can see, it's not empty at all
  • j

    jbergius

    09/14/2021, 3:38 AM
    Has anyone had a problem initializing a a new supabase client with the createClient-function? It works flawless when I'm using the anon_key, but not with the service role key. I get "Error: supabaseKey is required." but when I log the value from the environment file, I clearly have a value.
  • g

    god

    09/14/2021, 8:30 AM
    im using nextjs, and i dont really understand how to use
    auth.api.getUserByCookie()
  • g

    god

    09/14/2021, 8:31 AM
    it seems to require an arguement when using ssr
  • g

    god

    09/14/2021, 8:31 AM
    https://github.com/supabase/supabase/blob/master/examples/nextjs-with-supabase-auth/pages/profile.js
  • g

    god

    09/14/2021, 8:31 AM
    here, it just passes
    req
  • g

    god

    09/14/2021, 8:32 AM
    but what do i pass into
    req
    ?
  • b

    bokolesnik

    09/14/2021, 8:34 AM
    Hello, I'm testing Supabase with a 1-3k reqs/sec. Receiving error
    FetchError: request to https://project.supabase.co/rest/v1/table?field=eq.value failed, reason: socket hang up
    . Are there any limits or restrictions?
  • j

    jbergius

    09/14/2021, 9:23 AM
    req is a key on the context-object which is passed in to the getServerSideProps-function in Next.js. See these docs for more information: https://nextjs.org/docs/basic-features/data-fetching#getserversideprops-server-side-rendering In the example you pasted the req key i destructured from the context-object directly
  • u

    user

    09/14/2021, 9:36 AM
    Hey, I want to create a table and reference a column to auth.users table ? Why auth table is not in options here?
  • s

    stibbs

    09/14/2021, 9:38 AM
    @User One of the team will have to chime in, but I’m pretty sure the ui doesn’t show private tables - only the public tables you have created.
  • s

    stibbs

    09/14/2021, 9:38 AM
    You’ll have to programmatically create the reference (assuming above is correct)
  • u

    user

    09/14/2021, 9:39 AM
    Okay thanks!
  • a

    askrodney

    09/14/2021, 9:50 AM
    hi anyone here familiar with postgrest-rs rust? I'm running a query to get a row count... client.from('table').eq('col',column).select('*').estimated_count().execute().await but I get back the rows matching the select query rather than the count. Any pointers?
  • p

    patrik

    09/14/2021, 12:00 PM
    how do I cancel an invite?
  • j

    Joe Bell

    09/14/2021, 12:40 PM
    Hey friends 👋 , recently "restored" a "paused" project via the GUI but now can't seem to view my tables or interact with the data via the JS client. Any idea how to resolve this? Quite a frustrating situation 😢
  • j

    Joe Bell

    09/14/2021, 12:40 PM
    "Error connecting to API"
  • j

    jonny

    09/14/2021, 2:34 PM
    can you send your project id (in the url) to support@supabase.io ?
  • j

    Joe Bell

    09/14/2021, 2:37 PM
    will do, cheers!
  • b

    Brock

    09/14/2021, 2:42 PM
    Is there a way to
    select
    only the last row in a table based on
    user_id
    or
    id
    and then
    update
    a column in that row?
  • l

    LuddensEkko

    09/14/2021, 2:58 PM
    hi,is there a way to pick up users infos (profil picture, gendre, birth date..) when singin with google oauth?
  • f

    ferminrp

    09/14/2021, 3:00 PM
    Hey everyone, I'm seeing my table as empty on the table editor but see results if I try the api
1...868788...316Latest