mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-25 12:04:21 +01:00
https://github.com/tursodatabase/limbo/issues/241 support keyword `rowid` check if rowid exists when creating table ```shell explain SELECT rowid FROM users WHERE rowid = 1; addr opcode p1 p2 p3 p4 p5 comment ---- ----------------- ---- ---- ---- ------------- -- ------- 0 Init 0 12 0 0 Start at 12 1 OpenReadAsync 0 2 0 0 table=users, root=2 2 OpenReadAwait 0 0 0 0 3 RewindAsync 0 0 0 0 4 RewindAwait 0 11 0 0 Rewind table users 5 RowId 0 2 0 0 r[2]=users.rowid 6 Ne 2 3 9 0 if r[2]!=r[3] goto 9 7 RowId 0 1 0 0 r[1]=users.rowid 8 ResultRow 1 1 0 0 output=r[1] 9 NextAsync 0 0 0 0 10 NextAwait 0 5 0 0 11 Halt 0 0 0 0 12 Transaction 0 0 0 0 13 Integer 1 3 0 0 r[3]=1 14 Goto 0 1 0 0 ``` Closes #596