LittlesQL. ランキングとまとめ
- ライセンス:
- MIT/X Consortium Lic...
- 出版社のWebサイト:
- http://github.com/jander/
LittlesQL. タグ
LittlesQL. 説明
LittlesQLはPython.examplexampleテーブルのためのさまざまな単純なデータベースアクセスインタフェースです.Foo(ID INT、名前文字列)ConnectConnectからSQLite3CTX = SQLiteContext( "test.db")db =データベース(ctx)connect mysqlctx = mysqlContext(username = "name" 、password = "pwd"、hostname = "localhost"、db = "test")db =データベース(ctx)queryQuery行dictdb.foo( "name =?"、 "tom")。get()#raw sqldb。 取得( "Name =?"、 "Tom")を取得します。 #raw sqldb.query( "ID> foo from fo fo foo from for foo for foo from for id desc limit 0,100;"、100)クエリ選択colsdb.foo.query( "ID、名前")#raw sqldb.query( "IDの選択、" foo from ")updatefdict = dict(name =" new foo ")db.foo(" id =? "、1).update(** fidct)#raw sqldb.execute(" update foo set name =?ここで =? "、" new foo "、1)deletedb.foo(" like? "、" test% ")。delete()#raw sqldb.execute(foo from name from from name from name from name?"、 "test%" )製品のホームページ
LittlesQL. 関連ソフトウェア