Skip to content

cannot use rpc #552

@arionaxiom

Description

@arionaxiom

Describe the bug
using rpc like

const [key, initialData] = await fetchQueryInitialData(
    client
    .rpc('get_pos_initial_data')
    .throwOnError()
  );

throws Query is not a PostgrestBuilder

using normal select query works

Expected behavior
Works as normal

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions