Skip to content

Commit 2d95067

Browse files
committed
chore: sqlite-sync android callout position
1 parent 335ba51 commit 2d95067

File tree

1 file changed

+6
-6
lines changed
  • sqlite-cloud/sqlite-ai/sqlite-sync/quick-starts

1 file changed

+6
-6
lines changed

sqlite-cloud/sqlite-ai/sqlite-sync/quick-starts/android.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,6 @@ Here’s a complete example showing how to load the extension, create a table, i
7878
- `<api-key>` - Your SQLiteCloud API key
7979
</Callout>
8080

81-
<Callout type="warning">
82-
CloudSync functions must be executed with `SELECT`. In Android, use
83-
`rawQuery()` to call them, and always call `moveToFirst()` (or `moveToNext()`)
84-
on the cursor to ensure the query actually executes.
85-
</Callout>
86-
8781
```kotlin
8882
import android.os.Bundle
8983
import androidx.activity.ComponentActivity
@@ -190,3 +184,9 @@ class MainActivity : ComponentActivity() {
190184
}
191185
}
192186
```
187+
188+
<Callout type="warning">
189+
CloudSync functions must be executed with `SELECT`. In Android, use
190+
`rawQuery()` to call them, and always call `moveToFirst()` (or `moveToNext()`)
191+
on the cursor to ensure the query actually executes.
192+
</Callout>

0 commit comments

Comments
 (0)