Tobie Morgan Hitchcock
1a0c8b018f
Error when accessing table with undefined param
...
When using the SQL table() function to define a table with an undefined paramater `table($undefined)`, the database would attempt to access a nil table, and would eventually crash.
2018-09-25 09:43:04 +01:00
Tobie Morgan Hitchcock
480ae04046
Add SQL functions time.wday() and time.yday()
2018-09-20 12:55:45 +01:00
Tobie Morgan Hitchcock
391fb53743
Add SQL function time.week()
2018-09-19 14:46:05 +01:00
Tobie Morgan Hitchcock
9bab9f3ce7
Add SQL function string.slug
2018-09-11 13:28:45 +01:00
Tobie Morgan Hitchcock
a3787ad274
Simplify and improve internal SQL AST structures
2018-08-20 00:21:35 +01:00
Tobie Morgan Hitchcock
e57e90a2f5
Ensure SQL functions return interface{} types
2018-08-08 08:47:41 +01:00
Tobie Morgan Hitchcock
fed44641cc
Output interface{} not []float64
2018-07-04 11:40:57 +01:00
Tobie Morgan Hitchcock
7277e32d88
Fix distinct() with GROUP BY clauses
2018-05-31 14:18:40 +01:00
Tobie Morgan Hitchcock
05f8b6ad6b
Fix bug in math.spread() SQL function
2018-04-29 14:42:49 +01:00
Tobie Morgan Hitchcock
86b81c469e
Add math.nearestrank() SQL function
2018-04-29 14:42:35 +01:00
Tobie Morgan Hitchcock
2878b29dde
Add math.sqrt
SQL function
2018-04-29 14:02:19 +01:00
Tobie Morgan Hitchcock
0c5af3ec29
the SQL distinct() function always returns a slice
2018-04-29 01:10:39 +01:00
Tobie Morgan Hitchcock
7afe14ab1a
Add ‘purge’ SQL function
2018-04-20 21:34:54 +01:00
Tobie Morgan Hitchcock
917dbff89d
Add math.fixed function for truncating floats
2018-04-13 20:48:48 +01:00
Tobie Morgan Hitchcock
d163db967f
Remove 3rd party package for SQL field validation
2018-04-05 00:35:35 +01:00
Tobie Morgan Hitchcock
b8972ae2c2
Mathmatical sql functions must be prefixed with ‘math’
...
All mathmatical functions must now be used by specifying the full function name. For example `avg` is now `math.avg`.
2018-04-05 00:34:09 +01:00
Tobie Morgan Hitchcock
3436634586
Add SQL either function for simplified IF ELSE clauses
2018-03-18 19:03:14 +00:00
Tobie Morgan Hitchcock
cacdf6dd49
Add SQL function for creating an array
2017-12-12 00:54:18 +00:00
Tobie Morgan Hitchcock
8849c7c30a
Enable specifying a regex using a function
2017-12-11 17:49:58 +00:00
Tobie Morgan Hitchcock
14d3539dbf
Add SQL functions for parsing urls
2017-12-04 10:06:01 +00:00
Tobie Morgan Hitchcock
93d154a099
Add sql functions for generating GUIDs
2017-11-27 11:35:26 +00:00
Tobie Morgan Hitchcock
08cf03f98b
Add ‘fncs’ package for all sql function commands
2017-11-16 20:31:20 +00:00