Skip to content
Back

Why TablesDB ListRows function does not include columns?

  • 0
  • Self Hosted
  • Databases
Karim
16 Nov, 2025, 06:29

When I try to list the rows with queries, there is no column data included in the returned value with forced me to fetch the items one-by-one with ID (which was not the case with older Database module) . Am I doing something wrong?

Example snippet (Go SDK):

TypeScript
docs, err := ServerClient.TablesDB.ListRows(
        AuthDB,
        EmailVerifyTable,
        ServerClient.TablesDB.WithListRowsQueries([]string{
            query.Equal("user_id", userID),
            query.Equal("email", email),
            query.Equal("secret_key", secret),
            query.Offset(0),
            query.Limit(1),
        }),
    )
TL;DR
Issue: Developer is unable to retrieve column data when using TablesDB ListRows function with queries. Solution: Instead of using `query.Select([*])`, developers should specify the columns they want to retrieve in the query. For example, `ServerClient.TablesDB.WithListRowsQueries([]string{"user_id", "email", "secret_key"})` to include specific columns in the returned data.
Karim
16 Nov, 2025, 06:34

I have tried to use with query.Select([*]), however that was not include the columns either.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more