aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/bindings/sqlite (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-07-08Implement `process.on("beforeExit", cb)` and `process.on("exit", cb)` (#3576)Gravatar Jarred Sumner 2-38/+63
* Support `process.on('beforeExit')` and `process.on('exit')` * [bun:sqlite] Always call sqlite3_close on exit * Update process.test.js --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-06-06[breaking][bun:sqlite] `.values()` returns `[]` instead of `null` for ↵Gravatar Jarred Sumner 1-0/+3
queries returning 0 results (#3219) Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-06-01Bundle and minify `.exports.js` files. (#3036)Gravatar dave caruso 1-432/+0
* move all exports.js into src/js * finalize the sort of this * and it works * add test.ts to gitignore * okay * convert some to ts just to show * finish up * fixup makefile * minify syntax in dev * finish rebase * dont minify all modules * merge * finish rebase merge * flaky test that hangs
2023-05-17Do the WebKit upgradeGravatar Jarred Sumner 1-1/+1
2023-04-25Implement `onResolve` plugins in `Bun.build()`, support multiple onLoad and ↵Gravatar Jarred Sumner 1-1/+1
onResolve plugins (#2739) * its 2023 * WIP `onResolve` plugins * more progress * it compiles * Lots of small fixes * Seems to work excluding entry points * Update BundlerPluginBuiltins.cpp --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-02-27fix(bun:sqlite): fix `sqliteDb.run(' ')` throwing `not an error` (#2226)Gravatar Derrick Farris 1-8/+8
2023-02-11Backport std::forward changeGravatar Jarred Sumner 2-7/+11
2023-01-31Re-run prettier after changesGravatar Jarred Sumner 1-53/+17
2023-01-22[bun:sqlite] cleanup `run`Gravatar Jarred Sumner 1-4/+7
2023-01-22Fixes #1366Gravatar Jarred Sumner 1-63/+72
2022-12-23Disable optimizationGravatar Jarred Sumner 1-61/+62
2022-12-01[`bun:sqlite`] ~15% perf improvement to all() and get()Gravatar Jarred Sumner 1-79/+157
2022-11-26[bun:sqlite] Fix bug with latin1 supplemental charactersGravatar Jarred Sumner 1-2/+5
Fixes https://github.com/oven-sh/bun/issues/1553
2022-11-21[bun:test] Add test for returning MAX_SAFE_INTEGERGravatar Jarred Sumner 1-0/+2
2022-11-21[bun:sqlite] fix truncating to int32 in results (now truncates to int52)Gravatar Jarred Sumner 1-3/+13
TODO: bigint
2022-11-09Add bun-types, add typechecking, add `child_process` types (#1475)Gravatar Colin McDonnell 1-13/+13
* Add bun-types to packages * Improve typing * Fix types in tests * Fix dts tests * Run formatter * Fix all type errors * Add strict mode, fix type errors * Add ffi changes * Move workflows to root * Add workflows * Remove labeler * Add child_process types * Fix synthetic defaults issue * Remove docs * Move scripts * Run prettier * Include examples in typechecking * captureStackTrace types * moved captureStackTrace types to globals * Address reviews Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu> Co-authored-by: Dylan Conway <dylan.conway567@gmail.com>
2022-10-09Don't forget to load SQLite in Database.deserializeGravatar Jarred Sumner 1-7/+16
Fixes https://github.com/oven-sh/bun/issues/1304
2022-08-27Update WebKit (#1165)Gravatar Jarred Sumner 1-18/+18
* Update WebKit * Fix `DataView` and non-8 bit sized typed arrays with TextDecoder * New WebKit Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2022-08-17[bun:sqlite] Add DOMJIT to get()Gravatar Jarred Sumner 1-64/+122
2022-08-12Update WebKitGravatar Jarred Sumner 1-16/+17
2022-08-12Add missing sqlite3 symbolGravatar Jarred Sumner 1-0/+5
2022-08-12remove column name caches in js (#1057)Gravatar Zilin Zhu 2-17/+8
2022-08-12invalidate column name caches when the schema of table may change (#1056)Gravatar Zilin Zhu 2-63/+91
2022-08-08Update JSSQLStatement.cppGravatar Jarred Sumner 1-2/+2
2022-08-08fix segfault for query().all() with more than 64 properties (#1025)Gravatar Zilin Zhu 1-2/+9
* fix segfault for query().all() with more than 64 properties * Update src/bun.js/bindings/sqlite/JSSQLStatement.cpp Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
2022-08-04[bun:sqlite] Fix crash when > 64 columnsGravatar Jarred Sumner 1-1/+4
Fixes https://github.com/oven-sh/bun/issues/987
2022-06-22change the directory structurejarred/renameGravatar Jarred Sumner 6-0/+254432