½Î±¸·Á ÀÌÅ»¸®¾Æ Àû Æ÷µµÁÖ

VINO´Â ORMÀÌ ¾Æ´Õ´Ï´Ù
Áö±Ý ´Ù¿î·Îµå

½Î±¸·Á ÀÌÅ»¸®¾Æ Àû Æ÷µµÁÖ ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • BSD License
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Hsiaoming Yang
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://lepture.com/

½Î±¸·Á ÀÌÅ»¸®¾Æ Àû Æ÷µµÁÖ Å±×


½Î±¸·Á ÀÌÅ»¸®¾Æ Àû Æ÷µµÁÖ ¼³¸í

vino´Â ormÀÌ ¾Æ´Õ´Ï´Ù. ¿¹, »ç½ÇÀÌ ¾Æ´Õ´Ï´Ù. orm.get ½ÃÀÛµÈ vino : # setup # db = vino ( 'engine : // user : passwd @ host : passwd @ host : port / database') db = vino ( 'sqlite : // db) SQLite ') # querydb.table ('user ')À» ã½À´Ï´Ù (username ='lepture '). fetch () # createDb.table ('user '). create (username ='lepture ', websitie ='http : // lepture.com ') db.commit () # updatedB.Table ('»ç¿ëÀÚ '). ã±â (username ='lepture '). ¾÷µ¥ÀÌÆ® (username ='hsiaoming yang ') db.commit () # deletedb.table (»ç¿ëÀÚ ') .find (username ='lepture '). »èÁ¦ () delete () delete () delete () delete () delete () DB = vino ('sqlite : // relative / path / db. SQLite ') Àý´ë °æ·Î°¡ÀÖ´Â SQLite : db = vino ('sqlite : //root/path/db.sqlite ') ¸ðµç Á¤º¸°¡ÀÖ´Â sqlalchemy.mysqlmysql°ú´Â ´Ù¸¨´Ï´Ù. db = vino ('mysql : // lepture : 123456 @ localhost : 3306 / test ') Á¤º¸°¡ ÀûÀº Á¤º¸ : DB = vino ('mysql : // lepture @ localhost / test ') ±âº» Æ÷Æ®´Â 3306ÀÔ´Ï´Ù. ±âº» Æ÷Æ®´Â ±âº»ÀûÀ¸·Î UTF8ÀÔ´Ï´Ù. queryfind ¸ðµç µ¥ÀÌÅÍ : db. db. Ç¥ ( '»ç¿ëÀÚ'). fetch () ÁöÁ¤µÈ ¸ðµç µ¥ÀÌÅÍ Ã£±â : db.table ( '»ç¿ëÀÚ ') .Find (username ='lepture '). fetch () ù ¹ø° µ¥ÀÌÅÍ Ã£±â : # fetch 1Àº listdb.table ('user ')À» ¸®ÅÏÇÏÁö ¾Ê½À´Ï´Ù. (username ='lepture ') fetch (1) Á¦ÇÑ Äõ¸® : db.table ( '»ç¿ëÀÚ'). find (username = 'lepture'). °¡Á® ¿À±â (5, offset = 3) ´ÙÁß ÇÊÅÍ : db.table ( '»ç¿ëÀÚ'). ã±â (username = 'lepture', nigh = 20) .Fetch () °í±Þ ÇÊÅÍ : # djangodb.table ( 'user')¿Í ¸¶Âù°¡Áö·Î # (age__in = ). fetch () db.table ( '»ç¿ëÀÚ'). ã±â (age__gt = 20) ) .fetch () db.table ( '»ç¿ëÀÚ'). ã±â (age__lt = 20) .fetch () db.table ( 'user') ã±â (age__gte = 20) .fetch () db.table ( '»ç¿ëÀÚ' ) .find (age__lte = 20) .Fetch () # ´õº¸±â Advanced Filters : db.table ( '»ç¿ëÀÚ'). ã±â (age__ne = 20) .fetch () # extrlydb.table ( '»ç¿ëÀÚ'). (AGE__NIN = ). FETCH () # in # documentationQuery ¼ø¼­¸¦ ÂüÁ¶ÇϽʽÿÀ. db.table ( '»ç¿ëÀÚ'). ã±â (age = 20) .Order ( '- id'). fetch () »èÁ¦ÇÔ ¸ðµç µ¥ÀÌÅÍ : db.table ( 'user'). delete () delete () delete () delete () delete data : db.table ( '»ç¿ëÀÚ'). ã±â (username = 'lepture'). »èÁ¦ () db.commit () Á¦Ç° ȨÆäÀÌÁö


½Î±¸·Á ÀÌÅ»¸®¾Æ Àû Æ÷µµÁÖ °ü·Ã ¼ÒÇÁÆ®¿þ¾î

nmap.

NMAP´Â ³×Æ®¿öÅ© Ž»ö µµ±¸ ¹× º¸¾È / Æ÷Æ® ½ºÄ³³ÊÀÔ´Ï´Ù. ...

201

´Ù¿î·Îµå

USB ¼­¹ö

·ÎÄà ³×Æ®¿öÅ© ¶Ç´Â ÀÎÅͳÝÀ» ÅëÇØ USB ÀåÄ¡¸¦ °øÀ¯ÇÏ°í ¾×¼¼½º ÇÒ ¼ö ÀÖ½À´Ï´Ù! ...

223

´Ù¿î·Îµå