tauri-plugin-sql icon indicating copy to clipboard operation
tauri-plugin-sql copied to clipboard

simplify and extend

Open yankeeinlondon opened this issue 3 years ago • 1 comments

  • removed the dual examples to focus just on the more up-to-date VueJS example code
  • added select_one to complement select on the API surface (note: these probably should have just been called to fetch_one and fetch_all as is the underlying API but no sense in changing now)
  • added an event handler on exit which automatically closes all open connection pools

Note: had hoped to address the issues about null being returned on select statement such as select count(*) as count from todos but after trying a few things I'm a bit stumped. I need to look into whether the Tauri unit testing story is better explained as this will give a much better iteration loop. Also, I am getting zero type inference for external types in the plugin. Not sure why.

yankeeinlondon avatar Oct 12 '22 00:10 yankeeinlondon

Socket Security Report

Dependency issues detected. If you merge this pull request, you will not be alerted to the instances of these issues again.

📜 New install scripts detected

A dependency change in this PR is introducing new install scripts to your install step.

Package Script field Location
@swc/[email protected] (added) postinstall package.json via [email protected]
Socket.dev scan summary
Issue Status
Did you mean? ✅ no new possible package typos
Install scripts ⚠️ 1 new install script detected
Telemetry ✅ no new telemetry
Troll package ✅ no new troll packages
Malware ✅ no new malware
Native code ✅ no new native modules
Bot Commands

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of package-name@version specifiers. e.g. @SocketSecurity ignore [email protected] [email protected]

⚠️ Please accept the latest app permissions to ensure bot commands work properly. Accept the new permissions here.

Powered by socket.dev

socket-security[bot] avatar Oct 12 '22 00:10 socket-security[bot]

closed in favor of feature/better db specific types

yankeeinlondon avatar Oct 28 '22 18:10 yankeeinlondon