Commit Graph
41 Commits
Author SHA1 Message Date
Jamie Hall 891a6705d8 Updated Point.php to stop converting value to float
Converting a value to a float causes a conflict "field type conflict: input field "value" on measurement "datapoints" is type int64, already exists as type float". For example, If i send 2.01, it works, if I send 2.00, it converts it into 2 and then Influxdb treats it as an integer.
2015-07-29 10:19:34 +02:00
Stephen Hoogendijk a6b4616d0d Properly fixed exceptions 2015-07-23 09:40:41 +02:00
Stephen Hoogendijk e7c6630329 Added ability to add measurements that do not have a value 2015-07-22 13:37:12 +02:00
Stephen Hoogendijk 6c4ce752a8 Changed method of sending UDP data to stream, fixed driver logic, added DSN method for creating a UDP session 2015-07-22 11:51:24 +02:00
Stephen Hoogendijk c2bd3c4a79 Fixed existing unit tests 2015-07-21 00:34:08 +02:00
Stephen Hoogendijk 1de116fd03 Rewrite to allow for pluggable adapters, removed support for PHP < 5.5, Added UDP support 2015-07-21 00:00:00 +02:00
Andrey 2584146a44 Do not align assignments 2015-07-20 11:19:40 -03:00
Andrey 0a11cfd315 Always ensure value 2015-07-20 11:19:40 -03:00
Andrey d266b25a5a Fix Only variables should be passed by reference 2015-07-20 11:19:40 -03:00
Andrey dfe45c0ff2 Cast all to (int) 2015-07-20 11:19:39 -03:00
Andrey 6419531178 Use array_merge instead 2015-07-20 11:19:39 -03:00
Andrey 5bc2b9fabd Use native type-checking 2015-07-20 11:19:39 -03:00
Andrey e36ab876d5 Few tweaks on CS 2015-07-20 11:19:39 -03:00
Stephen Hoogendijk a790aa4961 Style fixes and removal of redundant check 2015-07-20 15:53:06 +02:00
Stephen Hoogendijk fd80291e15 Added precision; added database exists method 2015-07-20 12:22:39 +02:00
danibrutal 9dc122dccd Tests - ClientTest query method 2015-07-06 15:58:29 +02:00
Stephen Hoogendijk 065fbb4a8c Merged leaseweb/influxdb-php into influxdb/influxdb-php 2015-07-03 15:41:02 +02:00
Stephen Hoogendijk abd72a5c88 Added code coverage to travis.yml; performance optimizations 2015-06-29 10:20:47 +02:00
Stephen Hoogendijk 963ed464d5 Ensured support for php 5.3 by changing the guzzle client to 3.* 2015-06-25 18:04:12 +02:00
Stephen Hoogendijk abe1492b85 Fixed unit tests 2015-06-25 16:31:04 +02:00
Stephen Hoogendijk fe1d902d39 Fixed overhead with array iteration 2015-06-25 11:56:54 +02:00
Stephen Hoogendijk a3405a7c15 Reverted guzzle to v.5 to support php 5.4, increased verbosity and improved internal api; improved readme 2015-06-25 11:48:30 +02:00
Stephen Hoogendijk 54fbd31ce2 Changed namespace to \\InfluxDB 2015-06-23 09:19:24 +02:00
Stephen Hoogendijk 0091131d6b Added from dsn method 2015-06-22 14:51:48 +02:00
danibrutal 6b8d03704e Client - write method 2015-06-19 15:46:02 +02:00
danibrutal 90277f14a8 Writing Points tests 2015-06-19 12:04:25 +02:00
danibrutal e4f5bb94d6 ResultSet bugfix if tags key is missing in the result 2015-06-19 11:47:27 +02:00
danibrutal 20e2527a92 Changing Client Exception, testing Point 2015-06-19 11:34:08 +02:00
Stephen Hoogendijk d625efdedc Fixed query builder last method, added median method; fixed adding retention policies 2015-06-19 11:23:31 +02:00
danibrutal aa25eae865 Adding Point class to handle Points 2015-06-19 09:49:58 +02:00
danibrutal 74219895ef Testing database 2015-06-18 16:18:46 +02:00
Stephen Hoogendijk 43c89a161d Added list methods, cleaned up API 2015-06-18 16:17:57 +02:00
danibrutal 72cd8b82bd Throws Exception in constructor for error in first serie 2015-06-18 15:37:41 +02:00
danibrutal d55af50722 Throws InfluxDBClientError if there was an error after quering 2015-06-18 15:05:04 +02:00
danibrutal 033d593d51 ResultSet::getPoints empty parameters 2015-06-18 14:59:00 +02:00
danibrutal 7d91bb0519 Changing measurement to name in result set 2015-06-18 14:22:51 +02:00
Stephen Hoogendijk 87121d2126 Intermediate commit; added querybuilder; retention policy object 2015-06-18 13:52:50 +02:00
Daniel Martinez 016c5abc6e ResultSet - getSeries 2015-06-18 13:40:16 +02:00
Daniel Martinez 413cbf6eb2 Testing ResultSet 2015-06-18 10:11:19 +02:00
Daniel Martinez d6dc5d5062 ResultSet - implementing getPoints 2015-06-17 16:03:21 +02:00
Stephen Hoogendijk 93ed031636 Intitial commit 2015-06-16 22:31:13 +02:00