Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@supabase/postgrest-js

Package Overview
Dependencies
Maintainers
3
Versions
138
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@supabase/postgrest-js - npm Package Compare versions

Comparing version 0.24.5 to 0.25.0

5

dist/main/lib/PostgrestFilterBuilder.d.ts

@@ -16,4 +16,7 @@ import PostgrestTransformBuilder from './PostgrestTransformBuilder';

* @param filters The filters to use, separated by commas.
* @param foreignTable The foreign table to use (if `column` is a foreign column).
*/
or(filters: string): this;
or(filters: string, { foreignTable }?: {
foreignTable?: string;
}): this;
/**

@@ -20,0 +23,0 @@ * Finds all rows whose value on the stated `column` exactly matches the

6

dist/main/lib/PostgrestFilterBuilder.js

@@ -27,5 +27,7 @@ "use strict";

* @param filters The filters to use, separated by commas.
* @param foreignTable The foreign table to use (if `column` is a foreign column).
*/
or(filters) {
this.url.searchParams.append('or', `(${filters})`);
or(filters, { foreignTable } = {}) {
const key = typeof foreignTable === 'undefined' ? 'or' : `${foreignTable}.or`;
this.url.searchParams.append(key, `(${filters})`);
return this;

@@ -32,0 +34,0 @@ }

@@ -16,4 +16,7 @@ import PostgrestTransformBuilder from './PostgrestTransformBuilder';

* @param filters The filters to use, separated by commas.
* @param foreignTable The foreign table to use (if `column` is a foreign column).
*/
or(filters: string): this;
or(filters: string, { foreignTable }?: {
foreignTable?: string;
}): this;
/**

@@ -20,0 +23,0 @@ * Finds all rows whose value on the stated `column` exactly matches the

@@ -22,5 +22,7 @@ import PostgrestTransformBuilder from './PostgrestTransformBuilder';

* @param filters The filters to use, separated by commas.
* @param foreignTable The foreign table to use (if `column` is a foreign column).
*/
or(filters) {
this.url.searchParams.append('or', `(${filters})`);
or(filters, { foreignTable } = {}) {
const key = typeof foreignTable === 'undefined' ? 'or' : `${foreignTable}.or`;
this.url.searchParams.append(key, `(${filters})`);
return this;

@@ -27,0 +29,0 @@ }

{
"name": "@supabase/postgrest-js",
"version": "0.24.5",
"version": "0.25.0",
"description": "Isomorphic PostgREST client",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc