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

anduindata

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

anduindata

a mysql connector

  • 1.3.4
  • PyPI
  • Socket score

Maintainers
1

a lite mysql connector... Name from the Lord of Ring

<=========how to use=========>

from anduin.server import Data

cond = [ (col1,'=',val1), (col2,'=',val2), ....]

fields = [ col1, col2 ...]

params = { key1:val1, key2:val2, ...}

find one line of data:

Data.find(__TableName__,conditions=cond,fields=fields)

return a python dict like { col1:value1,col2:value2...}

find datas

Data.select(__TableName__,conditions=cond,fields=fields)

return a python list like [{ col1:value1,col2:value2...}]

update data:

Data.update(__TableName__,conditions=cond,params=params)

return None

insert data:

Data.insert(__TableName__,params=params)

return None

delete data:

Data.delete(__TableName__,conditions=cond)

return None

using Data.query() to execute sql directly like Data.query('select * from table')

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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