You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feature: added new method set_compact_arrays to change the current "compact_arrays" option used by the current object for subsequent queries. thanks Lance Li for suggesting it.
Copy file name to clipboardExpand all lines: README.markdown
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -241,6 +241,14 @@ Returns the MySQL server version string, like `"5.1.64"`.
241
241
242
242
You should only call this method after successfully connecting to a MySQL server, otherwise `nil` will be returned.
243
243
244
+
set_compact_arrays
245
+
------------------
246
+
`syntax: db:set_compact_arrays(boolean)`
247
+
248
+
Sets whether to use the "compact-arrays" structure for the resultsets returned by subsequent queries. See the `compact_arrays` option for the `connect` method for more details.
249
+
250
+
This method was first introduced in the `v0.09` release.
0 commit comments