Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for JSON data type #2

Open
wants to merge 58 commits into
base: master
Choose a base branch
from
Open

Added support for JSON data type #2

wants to merge 58 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Nov 30, 2015

Returns json as a string if Have_vibe_d isn't defined, otherwise uses vibe.data.json : Json.

sshamov and others added 30 commits September 22, 2013 09:12
Fix purity of exceptions + enforce for dmd 2.064+
… for separate builds (as for "dub generate visuald").
Remove checking _valid (which no longer exists) from execFunction and ex...
Added 2 missing casts reported as errrors by DMD-2.065 head.
dmd 2.065.0 issued 'Error: class mysql.db.MysqlDB() is used as a type' instead of the static assert.
As there is AFAIK no way to trigger the static assert on class instantiation, this turn it into an undefined symbol.
[Trivial] Error message was not displayed
add colNames and colNameIndicies to ResultSequence
detect nullable types and call nullify in toStruct
- Range wouldn't stop correctly when all rows were fetched
…but let's keep it in the general ballpark. Long lines of text are hard to read.)
Nick Sabalausky and others added 27 commits June 6, 2014 16:37
The library doesn't actually make use of the immutability guaranty and it places
quote some limits on how the SQL command can be constructed (for example from a
buffer that is reused after every command).
Replace string with const(char)[] for sql string
Since MySQL requires well formed JSON values. Querying a JSON value returns a string, so we can just parse it directly.; however, it doesn't make sense to implement an entire JSON library when the library supports JSON , which has its own already.
@ghost
Copy link
Author

ghost commented Nov 30, 2015

made this wrong... apparently I can't GitHub :(

@ghost ghost closed this Nov 30, 2015
@ghost ghost reopened this Nov 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants