Get a specific cell if matched another cell in row in baserow

Hello,
I am trying to do the following:

I have a login system. I want:

When a user register in my app , these data will storing in baserow:

user name

code login(unique code for each new user)

device id (after encryption)=unique

date of the first registration(formatted date..not important)

:small_orange_diamond::small_orange_diamond::small_orange_diamond: important :small_orange_diamond:register date​:small_orange_diamond::small_orange_diamond:second date (Clock time in milliseconds after conversion using Clock…)

I want, for example, that the code entered by users has a validity period of 6 months only, after which the user subscription will expire.

I already know the blocks to set the validity period, but my problem is how to get the second date value for a user with a specific code login.

:small_orange_diamond::small_orange_diamond::small_orange_diamond:I want to retrieve only the second date for a user with a given code login.

I do not want to retrieve all values from the table, because some users register at different times.

please Can you help me with the blocks in Baserow?

I tried using filter, but I don’t understand field ids; it seems very confusing and not practical.

the main thing that i can’t understand it .. row Id :slightly_smiling_face::slightly_smiling_face: i don’t know the row Id that should be add in block to use it in filter block :sob::sob:
please help me
i need this feature login period in my app ..
@Still-learning @Baserow

Is this airtable? If so you can try FilterByFormula method of calling data after successful login.

No meed of row id

Did you read this?

now it’s baserow database

To communicate with Baserow, are you using an extension or a Web component?

sumit extension

With the search function, you can look up the user’s UID, and it will return the entire row.

but how to get the results
there is no event (when baserow after searched!!!) :slightly_smiling_face:

i think i must use lookup in pairs or get value for key in dictionary.. after got all rows ?

Use a notifier and show me what you get.

1 Like

you will get result under the yellow event of When GotAllRows

also by using web block you can try usingthis formula.

https://your-baserow-instance/api/database/rows/table/<table_id>/?filter___name=John, also can add multiple conditions without any extensions you can try..

1 Like

done using got all rows
but i have a small mistake

The latest version(sumit extension) calls get columns(we must make a list), while in previous versions, one column was called in each block of Baserow(get column in text)
This means that when I use get columns instead of get each column and then later use is in list thing, it won’t work—while I should be using the if contain text block.

thank you

whats you mean by (your baserow insrance)!!
i am really confusing
each extension work with different method

and sumit latest versions doesn’t accept get columns if i set max records above 200
:slightly_smiling_face:

other extensions work even if i set max record to 10000000

does baserow get only first 200 records !??

if user will be 201 how i can make this available

you mean
my instance baserow: baserow.io if i don’t have a private server

with this method we must read baserow reset api documentation
because it is necessary to add field_id (when get value for key) instead of add name of the column ..

the problem now is he will give me the result of first result (index=1) not a specific result

I finally did it and succeeded !

Now you can call me the professional :rofl: :heart_eyes:
without extension

web url:

https://api.baserow.io/api/database/rows/table/(here table id)/?user_field_names=true

and wihtoud direct search

That’s great, I’m glad!

Congratulations :partying_face:

and well done for sharing the solution so it can help others too.

1 Like