Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

expo-sqlite-wrapper

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

expo-sqlite-wrapper - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "expo-sqlite-wrapper",
"version": "1.0.0",
"version": "1.0.1",
"description": "This is a wrapper for `expo-sqlite` as it make it very easy to create, update and work with the database file",

@@ -5,0 +5,0 @@ "main": "index.tsx",

@@ -112,6 +112,9 @@ # expo-sqlite-wrapper

// You could also load the children when using query
// this will be converted to [Select * from Parents where (name in (?,?)) OR (email = ?)] WHERE ? is the arguments.
// this will be converted to [Select * from Parents where (name in (?,?)) OR (email like %?%)] WHERE ? is the arguments.
// Also make note that if arguments in IN() is empty or undefined the select Sats will remove the select for the column Name
// and the select will be [Select * from Parents where (email like %?%)] the same for EqualTo etc..
var item = await dbContext.database.query<Parent>("Parents").Start().Column(x=> x.name).IN(["name", "testName"]).End().OR()
var item = await dbContext.database.query<Parent>("Parents")
.Start().Column(x=> x.name).IN(["name", "testName"]).End()
.OR()
.Start().Column(x=> x.email).Contains("test@").End()

@@ -118,0 +121,0 @@ .LoadChildren("Childrens", x=> x.id)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc