Replies: 5 comments 3 replies
-
It looks like you should probably be using the |
Beta Was this translation helpful? Give feedback.
-
For e xample if i use "LIKE" I get this |
Beta Was this translation helpful? Give feedback.
-
From what I see, it appears your trying to find a row where the column being filtered is a String Array, and its being searched for in a single string "Player", and so it can't search for an array inside of a string. But perhaps I misunderstand how the Filter method works. I've been facing a similar issue with the following code.
Where x.name is a string, and the variable hashNames is a List of strings to search within. |
Beta Was this translation helpful? Give feedback.
-
I pulled up the inner workings of the FIlter method here as inspecting this may help:
|
Beta Was this translation helpful? Give feedback.
-
Well, I finally figured out my issue which got me the warning This may sound silly, but maybe try something like |
Beta Was this translation helpful? Give feedback.
-
Having issues using filters, tried looking at the documentation but i still couldn't figure out by what it means
Advanced filters require a constructor with more specific arguments
`Model [Table("servers")]
public class Servers : BaseModel
{
[PrimaryKey]
[Column("id")]
public float id { get; set; }
}`
and this is the query am trying to make ` public async Task FindServerByPlayer(string player)
{
var response = await _supabase
.From()
.Select("id")
.Where(x => x.Playerlist, Postgrest.Constants.Operator.Contains, player)
.Get();
Console.WriteLine(response.Content);
var jsonDocument = JsonDocument.Parse(response.Content);
var rootElement = jsonDocument.RootElement;
Beta Was this translation helpful? Give feedback.
All reactions