lt()用于查找所有在所述列(column)上的值小于指定值(value)的记录。
列(column)
值(value)
create table countries (id int8 primary key, name text); insert into countries (id, name) values (1, 'Afghanistan'), (2, 'Albania'), (3, 'Algeria');
const { data, error } = await supabase .from('countries') .select() .lt('id', 2)
{ "data": [ { "id": 1, "name": "Afghanistan" } ], "status": 200, "statusText": "OK" }
string类型
要过滤的列
任意类型
用来过滤的值
navigate_before gte()
lte() navigate_next