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

    doctorRuediger

    08/19/2021, 2:10 PM
    Hello, I'm new to supabase. I'm trying to find out the following. Can the client create a new table in my database? A link would be helpful. I use Ionic and Angular
  • m

    Marky

    08/19/2021, 3:15 PM
    There is a difference between postgress functions and stored procedures, functions cannot have transactions which is a pretty big limitation see response here https://github.com/supabase/supabase/pull/2897#issuecomment-902006193
  • d

    Deleted User

    08/19/2021, 3:33 PM
    Hello new to using supabase and wanted to know if there is a method for
    GROUP BY
    . I came across
    containedBy
    but I don't think that's what I'm looking for.
  • m

    Michael Ketzer | streamgeist.com

    08/19/2021, 4:34 PM
    Hello, are there any operation limits for supabase? I tested an app with some load this morning for some seconds, and it appears that my IP is blocked now. At least I can no longer connect to a project. I'm getting a timeout there.
    o
    • 2
    • 3
  • r

    Rod

    08/19/2021, 6:35 PM
    How can I do something like this in supabase-js?
  • r

    Rod

    08/19/2021, 6:35 PM
    ‘SELECT t.id from trucks t where t.id not in (SELECT b.truck from bookings b where not (b.end < end_datetime or b.start > start_datetime))’
  • r

    Rod

    08/19/2021, 6:35 PM
    don’t know how to do nested queries
  • k

    KrisCoulson

    08/19/2021, 7:31 PM
    Can anyone point me in the right direction to installing pg_cron in my local supabase docker container?
  • d

    dommarr

    08/19/2021, 7:39 PM
    Anyone else try Storage - Upsert and have issues? Inserts work, but I get the following error when trying to replace existing image... "duplicate key value violates unique constraint"
    j
    • 2
    • 2
  • r

    Rod

    08/19/2021, 7:44 PM
    I just used RPC instead ☺️
  • u

    user

    08/19/2021, 9:17 PM
    anyone use the array of json columb for a table? or is it just better to make a new table entirely with a foreign key
  • u

    user

    08/19/2021, 9:18 PM
    i have a table that i keep my lists, and each list has an array of shows (objects) . hope this enough context to help thanks
  • c

    claud9

    08/19/2021, 9:30 PM
    👋 , I'm trying to encrypt a field when using a trigger, but I get an error when saving, any help? This works
    Copy code
    create or replace function public.handle_new_user() 
    returns trigger as $$
    begin
      insert into public.users (id, email)
      values (new.id, new.email);
      return new;
    end;
    $$ language plpgsql security definer;
    This doesn't work - I get this error
    { message: 'Database error saving new user', status: 500 }
    Copy code
    create or replace function public.handle_new_user() 
    returns trigger as $$
    begin
      insert into public.users (id, email)
      values (new.id, pgp_sym_encrypt(new.email, 'KEY'));
      return new;
    end;
    $$ language plpgsql security definer;
    The only difference is
    pgp_sym_encrypt(new.email, 'KEY')
    j
    • 2
    • 5
  • d

    dperrera

    08/19/2021, 10:31 PM
    Hello! I'm trying to use the
    inviteUserByEmail
    method and I'm getting this error:
    Copy code
    {
      "message": "User not allowed",
      "status": 401,
    }
    Any ideas would be appreciated!
    o
    • 2
    • 5
  • o

    Olyno

    08/20/2021, 1:06 AM
    User not allowed invite by email
  • o

    Olyno

    08/20/2021, 1:07 AM
    Operarations limit
  • j

    jason-lynx

    08/20/2021, 4:00 AM
    bytea
  • j

    jason-lynx

    08/20/2021, 4:04 AM
    upsert
  • k

    KrisCoulson

    08/20/2021, 6:27 AM
    Does anyone know how to install extensions on supabase locally in the docker containerr? I am looking to add pg_cron to test a cron job
  • g

    Gustavogsb

    08/20/2021, 12:42 PM
    Hello! How can I fetch 1000+ rows from a table?
  • e

    e0

    08/20/2021, 12:51 PM
    https://supabase.io/docs/reference/javascript/select#notes
  • k

    Khan W

    08/20/2021, 2:52 PM
    I’m sure this has already been asked but is there any support for using an external auth system?
  • n

    novon

    08/20/2021, 2:53 PM
    Anyone run into "Network Request Failed" seems to happen every so often when making calls
  • f

    farzd

    08/20/2021, 3:51 PM
    Hello friends, has anyone had any luck setting up custom SMTP server, with AMAZON SES? https://github.com/supabase/supabase/discussions/2767
  • s

    soedirgo

    08/20/2021, 5:21 PM
    Try changing the Max Rows setting in Settings > API > Settings
  • h

    HEAVYPOLY

    08/20/2021, 6:20 PM
    Hi all, new to online databases here. is it safe to store the api key in my project publicly?
  • h

    HEAVYPOLY

    08/20/2021, 6:21 PM
    and the api config url
  • i

    ivanq3w

    08/20/2021, 6:58 PM
    How to implement custom user roles in JWT, and auth.users ? To write policies like that:
    Copy code
    create policy "Only CUSTOM_ROLE can create posts" on posts for
        select using (auth.role() = 'CUSTOM_ROLE');
    How to change role column in auth.users ?
    • 1
    • 3
  • u

    user

    08/20/2021, 6:59 PM
    is there any roblox to supabase yet?
  • f

    farzd

    08/20/2021, 7:04 PM
    yes, only your public key [and the url] the other key has admin access so that one you need to keep a secret and use it on a backend service like node etc You need to set up row level policies to setup various custom restrictions i.e allow only the authenticated user to update their own information. Theres lots of info on this in the docs
1...565758...316Latest