---
title: "Discussion on \"How to run custom SQL queries using functions in Supabase\" | Hashnode"
description: "Discussion on \"How to run custom SQL queries using functions in Supabase\". Recently I needed to run custom SQL functions in a Supabase project. Their Javascript SDK doesn't support this so the only way is via database functions. You can then call those functions using the Javascript SDK.\n\nLet's look at a very simple example..."
url: "https://hashnode.com/posts/how-to-run-custom-sql-queries-using-functions-in-supabase-1/620023603a8a6e5fe119816f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to run custom SQL queries using functions in Supabase](https://blog.statescu.net/how-to-run-custom-sql-queries-using-functions-in-supabase-1?utm_source=hashnode&utm_medium=feed)

Recently I needed to run custom SQL functions in a Supabase project. Their Javascript SDK doesn't support this so the only way is via database functions. You can then call those functions using the Javascript SDK. Let's look at a very simple example...

Feb 6, 2022 · 2 min read · blog.statescu.net  
Read the article

## Written by

[Razvan Statescu](https://hashnode.com/@razvanst)

@razvanst

  
[View profile](https://hashnode.com/@razvanst)

Freelance Full-Stack Developer

I am a Freelance Full-Stack developer with experience building scalable web applications. I specialize in JavaScript, with professional experience working with Angular and NodeJS.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
