Vino

Vino is niet orm
Download nu

Vino Rangschikking & Samenvatting

Advertentie

  • Rating:
  • Vergunning:
  • BSD License
  • Prijs:
  • FREE
  • Naam uitgever:
  • Hsiaoming Yang
  • Uitgever website:
  • http://lepture.com/

Vino Tags


Vino Beschrijving

Vino is niet orm. Ja, het is waar, het is niet orm.get starta Snelle kijk met vino: # setup # db = vino ('Motor: // Gebruiker: passwd @ host: poort / database') db = vino ('sqlite: // db. sqlite ') # querydb.table (' gebruiker '). Vind (gebruikersnaam =' Lepure '). Fetch () # aangedrevenB.table (' gebruiker '). Maak (gebruikersnaam =' Lepure ', website =' http: // Lepure.com ') db.commit () # UpdateB.table (' Gebruiker '). Vind (gebruikersnaam =' Lepure '). Update (gebruikersnaam =' Hsiaoming yang ') db.commit () # DeletedB.Table (' Gebruiker '). Vind (gebruikersnaam =' Lepure '). Verwijderen () db.commit () Setupwe ondersteunt nu alleen SQLite3 en MySQL.SqlitesQlite met relatieve pad: db = vino (' SQLITE: // relatief / pad / db. SQLITE ') SQLITE met absoluut pad: DB = Vino (' SQLITE: ///root/path/db.sqlite ') Let op: het is anders dan Sqlalchemy.mysqlmysql met alle informatie: DB = Vino (' MySQL: // Lepure : 123456 @ Localhost: 3306 / Test ') MySQL Met minder informatie: DB = Vino (' MySQL: // Lepure @ localhost / test ') Standaardpoort is 3306.Het opmerking, het is UTF8 standaard. WachtselFind Alle gegevens: DB. Tabel ('Gebruiker'). FETCH () Vind alle opgegeven gegevens: DB.Table ('Gebruiker' '). Find (gebruikersnaam =' Lepure '). FETCH () Zoek de eerste gegevens: # FETCH 1 retourneert geen lijstdB.table (' gebruiker '). Vind (gebruikersnaam =' Lepuur '). Fetch (1) Limiet Op zoekopdracht: db.table ('gebruiker'). Vind (gebruikersnaam = 'Lepure'). Fetch (5, offset = 3) Meerdere filters: db.table ('gebruiker'). Vind (gebruikersnaam = 'Lepa', leeftijd = 20) .fetch () geavanceerde filters: # net als djangodb.table ('gebruiker'). Vind (leeftijd__in = ). FETCH () DB.TABEL ('User'). Vind (Eeuw__GT = 20 ) .FETCHETCH () DB.TABLE ('User'). Vind (Eeuw__LT = 20). FETCHETCH () DB.TABLE ('User'). Vind (Eeuw__GTE = 20) .FETCH () DB.TABLE ('User' ). Find (AGE__LTE = 20) .FETCHETCH () # MEER Zie DocumentationMeer Geavanceerde filters: DB.Table ('Gebruiker'). Vind (LEEFTIJD__NE = 20) .FETCH () # NIET EQUALDB.TABLE ('User'). (AGEE__NIN = ). FETCH () # NIET IN # MEER IN # MEER Zie Documentatieoverdracht: DB.Table ('Gebruiker'). Vind (leeftijd = 20). OORDEEL ('- ID'). Alle gegevens: db.table ('gebruiker'). Verwijderen () db.commit () verwijderde gegevens verwijderen: db.table ('gebruiker'). Vind (gebruikersnaam = 'Lepure'). Verwijderen () db.commit () De startpagina van het product


Vino Gerelateerde software

USB-server

Hiermee kunt u een USB-apparaten over het lokale netwerk of internet delen en openen! ...

223

Downloaden