expo / expo/todo-sync-example

[main] no such function: crsql_siteid

Open
#12 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
22
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Cool project! Trying out main (2bd4bc9), and comparing it to inital_poc branch. Ran into some issues. I understand this is in active development, but thought I should share. I am seeing the following in the mobile logs: `Error code 1: no such function: crsql_siteid`. It also looks like it isn't hitting the server.

```
INFO BEGIN undefined
INFO SELECT name FROM pragma_table_list WHERE schema='main'AND type='table'AND name IN(?,?) ["tinybase_values", "todo"]
INFO SELECT name,type FROM pragma_table_info(?) ["todo"]
INFO SELECT*FROM"todo" undefined
INFO END undefined
INFO BEGIN undefined
INFO SELECT name FROM pragma_table_list WHERE schema='main'AND type='table'AND name IN(?,?) ["tinybase_values", "todo"]
INFO SELECT name,type FROM pragma_table_info(?) ["todo"]
INFO INSERT INTO"todo"("id","text","completed")VALUES(?,?,?)ON CONFLICT("id")DO UPDATE SET"text"=excluded."text","completed"=excluded."completed" ["vqXX3BQzzA", "Do a word search puzzle", 0]
INFO DELETE FROM"todo"WHERE"id"NOT IN(?) ["vqXX3BQzzA"]
INFO END undefined
WARN Possible Unhandled Promise Rejection (id: 0):
Error: Error code 1: no such function: crsql_siteid
Error: Error code 1: no such function: crsql_siteid
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.