Worros
e8bf2d8a22
Additional Player stats from Eleatic Stranger
...
Variance and $/hand
2008-12-13 14:03:53 +09:00
Worros
90803b297f
PlayerStat update - Postgres fixes (still failing)
...
Fixed parameter passing to execute - psycopg2 appears to be a bit fussy
about how parameters are passed.
Main query still doesn't work.
psycopg2.DataError: division by zero - appears to be caused by
,round(100*sum(wonAtSD)/sum(sawShowdown)) AS wmsd
Stuck there.
2008-12-11 23:42:33 +09:00
sqlcoder
1a43ccf2da
remove redundant unique keyword in create table statements
2008-12-09 23:38:40 +00:00
sqlcoder
4dc15bfd94
pulled and merged from fpdboz
2008-12-07 23:38:33 +00:00
sqlcoder
ec01f7ae40
move code closer to carl's repo
2008-12-07 17:23:38 +00:00
Worros
977e954574
Fixups to GuiPlayerStats
...
Now sets up and obeys the radio buttons more correctly.
Also reads the names from the text box, and replaces <player_test> in
the sql query.
2008-12-07 17:06:01 +09:00
Mika Bostrom
19c0328955
Change syntax for CREATE INDEX... for postgresql
2008-12-06 21:14:39 +02:00
Worros
1f7f3f7187
Fix MySQL 'ADD INDEX' syntax, add functions to create_tables
2008-12-03 18:18:20 +09:00
Worros
165ca5bf19
Oops - fix last commit
2008-12-03 17:41:20 +09:00
Worros
f25e524c06
Add sqlcoders indexes to query file
2008-12-03 17:37:31 +09:00
Worros
bac92f7b6e
playerStats query from sqlcoder - massive whitepsace churn - Apologies
2008-12-03 17:00:11 +09:00
Worros
e7650427b0
Initial placement of playerStatsByPosition
...
Doesn't do much thats useful yet - hard coded to nl and playerid=3
2008-12-03 16:36:49 +09:00
sqlcoder
a824814c0a
sqlcoder initial updates
2008-12-02 00:15:50 +00:00
Worros
6c4c450f07
Fix for postgres graph query - Remove column names to fix syntax error
2008-11-27 10:28:19 +09:00
Worros
34e374a55e
Patch from sqlcoder to make the query for the profit graph smarter/faster
2008-11-14 08:15:28 +10:00
Worros
79651706f6
Make GuiGraphViewer use the query file.
...
Make minor adjustment to Graph
2008-10-08 19:53:25 +08:00
Worros
6aca36b564
Moved SHOW TABLES query to query dict as list_tables
...
Added failing tests for Postgres until table deletion and table listing is fixed.
2008-10-08 03:12:38 +08:00
Carl Gherardi
66033036cc
Adds table create SQL to file. Included empty stubs for SQLite.
2008-10-07 17:25:24 +08:00
Carl Gherardi
e6fa946835
Add drop_table query.
...
Syntax verified against MySQL, PostgreSQL and SQLite docs
2008-10-07 14:47:24 +08:00
Carl Gherardi
83fa3901fe
New file for DB queries used in fpdb.
...
Currently just a framework and simple CLI
2008-10-07 14:11:48 +08:00