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

    Link

    02/07/2022, 7:20 AM
    Only really makes sense to use prisma if ur gonna use typescript
  • s

    shamiulshifat

    02/07/2022, 9:01 AM
    Greetings! How can i upload a csv file to supabase bucket using python? any help will be appreciated. thnx
  • t

    thomaseckert

    02/07/2022, 10:34 PM
    Here's a funny one. I was connecting my local setup to my database and getting the error
    Error: Error parsing connection string: Make sure the URL is percent-encoded.
    The issue: my randomly generated password has an
    @
    in it. Oops.
  • u

    user

    02/08/2022, 12:42 AM
    Hey
  • u

    user

    02/08/2022, 12:43 AM
    does anyone have any tutorials for how I can configure Supabase for a native app for Android
  • u

    user

    02/08/2022, 12:44 AM
    On your website I only saw a Flutter tutorial but I didn't see a native one
  • s

    Soham Shah

    02/08/2022, 4:52 AM
    Can anyone please help me with this?
  • s

    Soham Shah

    02/08/2022, 4:59 AM
    I have Schemas: - User {id, name, email, posts: Post[]} - Post {id, title, content, userId} When I select user with supabase-js SDK, I want the user data such as it gives: {id: 1, name: "soham", email:"sohamshah456@gmail.com", posts:[{id:1, userId:"1", title:"Wow", content:"I am content"}, {id:1, title:"Wow", content:"I am content", userId:"1"}]} Basically, I want the data to be populated. How to do this with our supabase-SDK SQL query?
  • m

    madx

    02/08/2022, 6:30 AM
    Hi, are you using the JavaScript SDK ?
  • s

    Soham Shah

    02/08/2022, 6:30 AM
    Yes
  • m

    madx

    02/08/2022, 6:30 AM
    Then you can query foreign tables by specifying in the
    select()
    arguments. Here's the doc section about it: https://supabase.com/docs/reference/javascript/select#query-foreign-tables
  • m

    madx

    02/08/2022, 6:35 AM
    In your case that's gonna look something like
    await supabase.from("users").select("*, posts(*))
  • s

    Soham Shah

    02/08/2022, 7:20 AM
    Thanks!😁😁😁
  • w

    wsh4and

    02/08/2022, 8:13 AM
    Does supabase support offline-first?
    s
    • 2
    • 2
  • s

    Soham Shah

    02/08/2022, 9:21 AM
    What can be the possible reasons for getting 403 (42501) on supabase requests from supabase-js SDK?
  • s

    Soham Shah

    02/08/2022, 9:54 AM
    https://stackoverflow.com/questions/67551593/supabase-client-permission-denied-for-schema-public Can we get a better workaround for this?
    s
    • 2
    • 2
  • s

    silentworks

    02/08/2022, 10:50 AM
    Offline support
  • s

    silentworks

    02/08/2022, 10:54 AM
    Destroying entire database
  • s

    Soham Shah

    02/08/2022, 11:50 AM
    Is supabase-js SDK faster than prisma in terms of performance?
  • z

    zainab

    02/08/2022, 6:07 PM
    How do you make a Supabase logo dark in light mode ?
  • z

    zainab

    02/08/2022, 6:10 PM
    👆
  • j

    joshcowan25

    02/08/2022, 7:00 PM
    How do you do dynamic full search? I have this, but tableName is not a type and I don't think tsvector("*") is possible. create or replace function searchDB(tableName text, recherche text) -- 1 returns setof tableName as $$ select * from tableName where to_tsvector("*") @@ to_tsquery(recherche); $$ language plpgsql;
  • w

    wiesson

    02/08/2022, 7:51 PM
    To anyone who is coming from firestore - who is using supabase more or less with a JSONB field? Besides no partial update possibilities and limited query options, it looks quite good
  • o

    osaxma

    02/08/2022, 8:04 PM
    You may find some answers in the following discussion that was posted today in
    r/PostgreSQL
    about JSONB: https://www.reddit.com/r/PostgreSQL/comments/sndijh/when_do_json_columns_make_sense_in_postgres/
  • w

    wiesson

    02/08/2022, 8:41 PM
    ah wow thanks! I have large objects of travel bookings and I find it not easy to maintain all relations to other tables (or mapping tables) because I have to add the relations by myself (e.g. create an accommodation, then add the used images to the many-to-many relation table) and can't use transactions (via JS SDK). So I'm considering to switch to JSONB for the core data, because I don't need really the relations. But partial updates and extended query options would be nice to have. Otherwise I have to use services such as algolia 😅
  • o

    osaxma

    02/08/2022, 8:57 PM
    I don't really have much experience with JSONB beyond insert and select the entire object. Though based on what I've read, you can create an index on JSONB fields -- not sure if that helps. Also, look up
    pg_trgm
    to see if it helps avoiding algolia... I was just searching and this article came up and looks interesting (it has a section for "GIN Trigram Indexes" using
    pg_trgm
    on JSONB) : https://dev.to/scalegrid/using-jsonb-in-postgresql-how-to-effectively-store-index-json-data-in-postgresql-5d7e
  • c

    cdbattags

    02/08/2022, 9:01 PM
    Hi folks, just joined the server and am wondering if there is any progress with supabase on Kubernetes that I might be able to help with?
  • w

    wiesson

    02/09/2022, 10:16 AM
    I guess it's kind of secret, but is there a public roadmap what supabase is going to do? 🙂 - I like to be surprised with great features (as usual), but sometimes it helps to know what might come in the future
    j
    y
    • 3
    • 5
  • h

    hko

    02/09/2022, 6:46 PM
    Is there a way to easily write "select length(column) from ..." with the JS library?
  • f

    florian-lefebvre

    02/09/2022, 8:29 PM
    Yes https://supabase.com/docs/reference/javascript/select#querying-with-count-option
1...188189190...392Latest