From cb72962b4a36f0519a4a6e2886515aba8f4a5aa1 Mon Sep 17 00:00:00 2001 From: shellyln Date: Mon, 17 Aug 2020 18:05:40 +0900 Subject: [PATCH] Improve README. --- CHANGELOG.md | 5 +++++ README.md | 8 ++++---- src/_spec/foo.spec.ts | 2 +- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a7892c6..bc064c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## v0.1.1 + * `[FIX]` Fix CSV resolver: Column names should be not dangerous names. + * Improve README. + + ## v0.1.0 * First stable release🎉 diff --git a/README.md b/README.md index 296ba80..35bd19d 100644 --- a/README.md +++ b/README.md @@ -172,7 +172,7 @@ const { soql, insert, update, remove, transaction } = build({ ### Query ```ts -const result = await soql` +const result = await soql>` Select acc.id aid , acc.Region reg @@ -214,7 +214,7 @@ const result = await soql` ### Aggregate ```ts -const aggregationResult = await soql` +const aggregationResult = await soql` Select count() , count(id) cnt @@ -243,7 +243,7 @@ const updated = await update('Contact', inserted); await remove('Contact', updated); -const selected = await soql`Select Id, Name from Contact`; +const selected = await soql>`Select Id, Name from Contact`; const updated2 = await update('Contact', selected); ``` @@ -268,7 +268,7 @@ await transaction(async (commands, tr) => { const inserted = await insert('Contact', [{ Name: 'foo', }]); - const selected = await soql`Select Id, Name from Contact`; + const selected = await soql>`Select Id, Name from Contact`; const updated = await update('Contact', selected); await remove('Contact', updated); }); diff --git a/src/_spec/foo.spec.ts b/src/_spec/foo.spec.ts index 7ecd502..5e8d6eb 100644 --- a/src/_spec/foo.spec.ts +++ b/src/_spec/foo.spec.ts @@ -303,7 +303,7 @@ describe("foo", function() { disablePrint ?? console.log(JSON.stringify(z, null, 2)); expect(1).toEqual(1); - const zz = await soql` + const zz = await soql>` Select count(), count(id) cnt,