https://supabase.com/ logo
Join Discord
Powered by
# off-topic
  • j

    Jesuscc9

    12/23/2022, 2:47 AM
    nice
  • j

    Jesuscc9

    12/23/2022, 2:47 AM
    anyways, I found a post already created which helped me a lot is this one 1011333570675081278 in case anyone need it
  • h

    Hege

    12/23/2022, 5:47 AM
    Did the errors change?
  • h

    Hege

    12/23/2022, 5:47 AM
    The requests are returning different error objects
  • h

    Hege

    12/23/2022, 5:47 AM
    I'm using javascript
  • f

    franco.valdes

    12/23/2022, 4:05 PM
    Anyone around willing to help me write some complicated RLS rules? Basically need to look into a pivot table to validate the auth user is in a specific group.
  • c

    coinpimp

    12/23/2022, 5:05 PM
    ok i need help and it won't let post in help
  • c

    coinpimp

    12/23/2022, 5:05 PM
    im getting an error message and idk why
  • u

    10000multiplier

    12/23/2022, 5:07 PM
    Is there another supabase twitter account where I can get the latest news without being spammed with (bad) memes?
  • g

    garyaustin

    12/23/2022, 5:09 PM
    Not sure about getting error and you don't list the error. You have to enter a title and select a tag I believe. But go ahead and ask your question here if you can't get in.
  • c

    coinpimp

    12/23/2022, 7:21 PM
    i got it to work thank you tho
  • c

    coinpimp

    12/23/2022, 7:21 PM
    (my error not the discord channel lol)
  • d

    Davo

    12/23/2022, 10:57 PM
    What front end nocode tool are you all using
  • h

    Hege

    12/24/2022, 12:05 AM
    Did the error handling change? The logic I had suddenly stopped working
  • d

    decruz

    12/24/2022, 5:40 AM
    When you access your db via Supabase APIs, is there any caching layer used, similar to polybase.ai ?
  • d

    decruz

    12/24/2022, 5:48 AM
    or are the APIs just function as wrappers around the SQL queries?
  • e

    eben

    12/24/2022, 12:15 PM
    Any react dev who can hop in dm with me for a quick 5mins?
  • d

    d33pu

    12/24/2022, 2:06 PM
    are there any boilerplate codes for web authentication in an iOS app? Basically the user uses mobile app but the authentication happens in the in-app browser. I am looking for what interactions needed between app and web so once the authentication is successfull, user can continue using the app
  • d

    DDupasquier

    12/24/2022, 9:35 PM
    The help forum is erroring out, so I'm gonna go right ahead and ask this here. Sorry mods. I'm wondering how I can create subscriptions inside my +page.ts. Is this possible? For example:
    Copy code
    js
    import { supabase } from '$lib/supabase';
    
    export async function load({ params }: { params: { page_id: number } }) {
        const { data: page, error } = await supabase
            .from('pages')
            .select(
                'id, pageNumber, background, elements: elements (id, elementName, x, y, zIndex, size, type, color, text, pageId)'
            )
            .eq('id', params.page_id);
        // * ==========================================================
        // supabase
        //     .channel('public:elements')
        //     .on('postgres_changes', { event: 'INSERT', schema: 'public' }, (payload) => {
        //         page = payload.new;
        //     })
        //     .subscribe();
        // * ==========================================================
    
        if (error) {
            throw new Error(error.message);
        }
    
        return {
            page
        };
    }
    The commented out code is just the subscription that, with a few changes, I have functioning in the onMount of the +page.svelte. I know that I could do like a
    Copy code
    js
    onMount(async() => {
    elements = data
    })
    And then subscribe from the component itself, but I'm hoping to keep this more server side.
  • g

    garyaustin

    12/24/2022, 9:46 PM
    realtime requires websockets...?
  • d

    DDupasquier

    12/24/2022, 9:47 PM
    Does it? I've had it working from the client side. This is relatively new territory for me.
  • g

    garyaustin

    12/24/2022, 9:51 PM
    Browsers have websocket support.
  • g

    garyaustin

    12/24/2022, 9:52 PM
    Sorry I was not asking you if realtime used websockets, I was saying that is probably the issue, but I don't do serverside stuff so not sure what all environments do.
  • d

    DDupasquier

    12/24/2022, 9:54 PM
    I'll likely run into that issue shortly. But for now the question is more about syntax. Like should I create a variable for the data client side and filter and push as I add and delete? Or is there a way to do this in my +page.ts?
  • l

    Luv

    12/25/2022, 11:09 AM
    merry Christmas
  • h

    Ho3einvb

    12/25/2022, 12:14 PM
    Hi,
  • h

    Ho3einvb

    12/25/2022, 12:15 PM
    Why is this database so slow in Iran?
  • u

    (FOX)

    12/25/2022, 4:32 PM
    your internet connection maybe ?
  • h

    Ho3einvb

    12/25/2022, 4:34 PM
    Maybe because of Iran's Internet restrictions... can't you use a server inside Iran? 😅😂
  • u

    (FOX)

    12/25/2022, 4:37 PM
    you can use in your localserver
1...324325326...392Latest