-
Notifications
You must be signed in to change notification settings - Fork 664
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
433 additions
and
396 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "alasql", | ||
"description": "Alasql - JavaScript SQL database and data manipulation library", | ||
"version": "0.0.42", | ||
"version": "0.0.43", | ||
"author": "Andrey Gershun <[email protected]>", | ||
"directories": { | ||
"example": "examples", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
if(typeof exports === 'object') { | ||
var assert = require("assert"); | ||
var alasql = require('../alasql.js'); | ||
} else { | ||
__dirname = '.'; | ||
}; | ||
|
||
|
||
describe('Test 252 CREATE TABLE without column types', function() { | ||
|
||
it('1. Overwrite',function(done){ | ||
|
||
alasql('CREATE DATABASE test252; USE test252;'); | ||
alasql('CREATE TABLE sqlite_sequence(name,seq)'); | ||
alasql('INSERT INTO sqlite_sequence VALUES (1,10)'); | ||
alasql('INSERT INTO sqlite_sequence VALUES ("one","ten")'); | ||
var res = alasql('SELECT * FROM sqlite_sequence'); | ||
// console.log(res); | ||
|
||
assert.deepEqual(res,[ { name: 1, seq: 10 }, { name: 'one', seq: 'ten' } ]); | ||
done(); | ||
}); | ||
|
||
}); | ||
|