Tobie Morgan Hitchcock
27b80ceb8e
Improve geometry polygon searching functionality
2021-05-17 13:13:09 +01:00
Tobie Morgan Hitchcock
02bacf121c
Add geometry contains + inside database functions
2021-05-13 01:28:13 +01:00
Tobie Morgan Hitchcock
d476bec5a2
Ensure strings are converted to records if possible
2021-04-17 15:01:16 +01:00
Tobie Morgan Hitchcock
4f3d446c4f
Fix failing tests
2021-03-22 21:28:48 +00:00
Tobie Morgan Hitchcock
fd0abd2d8e
Ensure diff-match-patch works on array values of arrays
2021-01-21 06:37:23 +00:00
Tobie Morgan Hitchcock
41ad26811c
Ensure diff-match-patch works on non string values
2020-12-09 21:20:01 +00:00
Tobie Morgan Hitchcock
dc48c16f1f
Remove json.encode and json.decode functions
2020-02-17 13:36:04 +00:00
Tobie Morgan Hitchcock
d103269a62
Get version information from git tag
2019-12-08 13:53:06 +00:00
Tobie Morgan Hitchcock
d0d566bbd9
Improve database speed
2019-11-20 13:20:27 +00:00
Tobie Morgan Hitchcock
2e1b699a87
Improve memory allocations when data.Doc cloning
2019-11-20 13:10:34 +00:00
Tobie Morgan Hitchcock
21e05b2e27
Reduce allocations
2019-11-20 13:09:25 +00:00
Tobie Morgan Hitchcock
3c0192c00c
Ensure tests are correct way around
2019-11-15 13:22:51 +00:00
Tobie Morgan Hitchcock
304c0458e8
Improve speed of document change detection
2019-06-17 07:00:32 +01:00
Tobie Morgan Hitchcock
9979d911c7
Parse strings as time if needed
2019-05-09 20:37:22 +01:00
Tobie Morgan Hitchcock
5a8feec56b
Ensure polygons are created correctly
2019-04-29 18:43:30 +01:00
Tobie Morgan Hitchcock
ef9c73d4d7
Make SQL parser stateless
2019-01-31 12:38:23 +00:00
Tobie Morgan Hitchcock
4d233de449
Fix diff implementation to generate patches
2019-01-31 09:53:13 +00:00
Tobie Morgan Hitchcock
58470b930e
Remove unused package
2019-01-31 09:52:15 +00:00
Tobie Morgan Hitchcock
a3788b558a
Remove unused package
2019-01-07 13:45:27 +00:00
Tobie Morgan Hitchcock
c8d70c780c
Don’t apply text diff if an error occurs
2018-12-28 10:53:28 +01:00
Tobie Morgan Hitchcock
3d4081bd54
Ensure record ID changes are detected in diff
2018-11-29 10:44:17 +00:00
Tobie Morgan Hitchcock
26b138b9b0
Simplify built-in database field types
2018-10-18 00:39:09 +01:00
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
918c696eb1
Complete functionality to define scope tokens
2018-09-13 17:34:27 +01:00
Tobie Morgan Hitchcock
9bab9f3ce7
Add SQL function string.slug
2018-09-11 13:28:45 +01:00
Tobie Morgan Hitchcock
31ad063ef4
Encode and decode when copying a document
2018-08-20 01:06:52 +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
68f7ce3851
Fix index diffing algorithm
2018-05-13 22:16:06 +01:00
Tobie Morgan Hitchcock
b886a5576a
Return empty array if requested array range
...
If an array range was requested, but no values matched, then a nil value was returned, instead of an empty array.
Now an empty array is returned if regardless of whether there are any matching array values or not.
2018-05-13 22:15:54 +01:00
Tobie Morgan Hitchcock
0615896c0e
Add timeout errors to json output
2018-05-09 22:52:47 +01:00
Tobie Morgan Hitchcock
b7d89ee65a
Add support for foreign tables with group by clauses
2018-05-02 02:43:04 +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
14c0d93635
Ensure arrays and objects are always set
2018-04-27 15:23:58 +01:00
Tobie Morgan Hitchcock
eb62515a05
Ensure that fields are not removed when set to NULL
2018-04-27 00:40:36 +01:00
Tobie Morgan Hitchcock
add47a5ada
Ensure correct ordering with same-compare values
2018-04-24 15:54:50 +01:00
Tobie Morgan Hitchcock
11a9fa05e6
Prevent race conditions in when fetching document fields
2018-04-24 13:53:15 +01:00
Tobie Morgan Hitchcock
1f30035899
Add SQL FETCH functionality to SELECT statements
2018-04-22 00:10:52 +01:00
Tobie Morgan Hitchcock
35047ce04c
Improve remote array record fetching
2018-04-22 00:10:51 +01:00
Tobie Morgan Hitchcock
7afe14ab1a
Add ‘purge’ SQL function
2018-04-20 21:34:54 +01:00
Tobie Morgan Hitchcock
459c7264ec
Don’t enable array lengths fetch using data paths
2018-04-20 21:33:13 +01:00
Tobie Morgan Hitchcock
3bc445ac05
Add tests to ‘ints’ package
2018-04-18 15:49:16 +01:00
Tobie Morgan Hitchcock
917dbff89d
Add math.fixed function for truncating floats
2018-04-13 20:48:48 +01:00