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):
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),
}),
)
I have tried to use with query.Select([*]), however that was not include the columns either.
I had tried to decode the nested struct, as: docs.Rows[0].Decode() which is incorrect. I fixed this by decoding docs.Rows.Decode() as a whole list.
Another issue, query.Select(["*"]) was incorrect, select query accepts only single value. So the correct usage should be query.Select("*")
Do you only have relationship columns or do you have non-relationship columns too?
Recommended threads
- IMPORTANT! SOC-2 Request Failing
Issue requesting SOC-2. If tried other/private browser as well as filling in optional fields.
- Appwrite-injected variables are not avai...
I am using rust-1.83 as a runtime and try to access APPWRITE_FUNCTION_API_ENDPOINT or APPWRITE_FUNCTION_API_KEY during runtime. Both are not set during my execu...
- OAuth Missing redirect URL
Hello all, on a Flutter mobile app with latest Appwrite dependency (25.4.0) I always got "Missing redirect URL" - "Your OAuth login flow is missing a proper red...