sql-js / sql-js/sql.js

Support for mutiple statements and REPLACE

オープン
#252 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
JavaScript
スター
13.7k
フォーク
1.1k
PR マージ指標
30日以内にマージされた PR はありません

説明

I'm a little confused.

When I try to run this, I get 0 results:

INSERT OR REPLACE INTO driver (license_plate, country, province, insert_date) VALUES (:license_plate, :country, :province, '2018-10-17T08:51:34.116Z'); SELECT * FROM driver WHERE license_plate = :license_plate;

But when I try

INSERT INTO driver (license_plate, country, province, insert_date) VALUES (:license_plate, :country, :province, '2018-10-17T08:51:34.116Z'); SELECT * FROM driver WHERE id = last_insert_rowid()

I get 1 result. I don't understand why

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

No source file, test, or entry point is named. Start by reproducing both SQL snippets in sql.js and compare how the multiple statements, INSERT OR REPLACE, and last_insert_rowid() cases are executed. Done means the expected behavior is established and the relevant behavior or documentation is updated accordingly.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript, sqlite
領域
databases
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
32/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。