dse 100 RC1

dse 100 RC1
  • Downloads: 319
  • Requirements:
  • Size:
  • Licence:
  • Version: 1.0.0
  • Added At: 2011-16-04
  • Publisher Site:



dse 100 RC1

Share

dse is a simple and crude way of not executing SQL queries in sequence, but caching values until a given max value has been met and then execute them using the executemany-method. The result can be huge speed gains.dse was only tested on SQLite3 but intended for use in django as well.Example usage:import sqlite3 # for testing purposesfrom dse import DelayedSqlExecutorconn = sqlite3.connect(':memory:')cursor = conn.cursor()cursor.execute('create table filedata (id INTEGER PRIMARY KEY, filepath TEXT, filename TEXT, filesize INTEGER)')d = DelayedSqlExecutor(cursor, paramtoken= '?') # using the ? paramtoken here for sqlite3. Leave it blank and it`ll use %s as support by Django etc.d.addObject('filedata', ('id', 'filepath', 'filename', 'filesize'))for i in range(0, 999):    # adding some dummy data. Notice the absence of the id-fi
dse is a simple and crude way of not executing SQL queries in sequence, but caching values until a given max value has been met and then execute them using the executemany-method. The result can be huge speed gains.dse was only tested on SQLite3 but intended for use in django as well.Example usage:import sqlite3 # for testing purposesfrom dse import DelayedSqlExecutorconn = sqlite3.connect(':memory:')cursor = conn.cursor()cursor.execute('create table filedata (id INTEGER PRIMARY KEY, filepath TEXT, filename TEXT, filesize INTEGER)')d = DelayedSqlExecutor(cursor, paramtoken= '?') # using the ? paramtoken here for sqlite3. Leave it blank and it`ll use %s as support by Django etc.d.addObject('filedata', ('id', 'filepath', 'filename', 'filesize'))for i in range(0, 999):    # adding some dummy data. Notice the absence of the id-fi �. you can free download dse 100 RC1 now.
Soft85 only provide legal software, please help us keeping pur site legal, if you think this page is violating copyrights please let us know by clicking here Here






comments powered by Disqus

Download dse 100 RC1 _FREE_