SQL

SQL stands for structured query language. It uses commands such as "select", "insert", "update", "delete". Some common relational database management systems that use SQL are: Oracle, MySQL, Microsoft SQL Server, PostgreSQL, etc.
Here are 19,764 public repositories matching this topic...
Issue Description
While using model.bulkCreate, as we pass the options, an object which contains transaction, it comes modified after the execution
What are you doing?
We have called bulk
Sometimes it is needed to store compressed data in the DB. Unfortunately not all the DBs have built-in compression and FUSE compressed FSes are not available for every OS. So it may make sense to store compressed binary blobs in the DB.
Unfortunately when one sees them in DBeaver he sees them compressed, but often they are needed uncompressed. So it'd be nice to have a feature to decompress the
See this issue: https://forum.cockroachlabs.com/t/test-string-value-as-valid-json-content/4870
It's not currently possible to validate if a string can be converted to JSON.
Describe the solution you'd like
A new function, json_valid(string) that would return a true value if the string could successfully be casted to a json type - false otherwise.
**Describe alternatives you've consider
-
Updated
Oct 19, 2021 - C++
-
Updated
Oct 19, 2021 - C++
## Python/Regex fix
This is a reminder for me or a task if anyone wants :P
Basically, The last two questions aren't really regex's questions.
To do:
- Move said questions to correct place.
- Add new regex questions (Python related!)?
- Maybe add a new ## Regex section, as it is a valuable skill
Environment
Knex version: 0.21.1
OS: docker node:latest
I'd like to be able to write my migrations (and seed) files as es modules with the .mjs file extension like I'm doing with all my other javascript files.
I'd like to be able to run these migrations from within node (not via the cli) like this:
db/migrations/00001-users-table.mjs:
export const up = knex => knex.sche
Add more unit tests
- ShardingSQLRewriteContextDecorator
- ShardingParameterRewriterBuilder
-
Updated
Oct 19, 2021 - C
Issue description
This option will improve performance in many scenarios
https://dev.mysql.com/worklog/task/?id=8134
https://www.facebook.com/weixiang.zhai/posts/678596755543802
Describe the bug
Using a time dimension on a runningTotal measure on Snowflake mixes quoted and unquoted columns in the query. This fails the query, because Snowflake has specific rules about quoted columns. Specifically:
- All unquoted column names are treated as upper case
- Quoted column names are case sensitive.
So "date_from" <> date_from
To Reproduce
Steps to reproduce
Commands like dolt log
dump pages of text to the screen. Should be in a pager by default, as with git.
-
Updated
Sep 30, 2021 - JavaScript
Hello Philip!
I think there is an issue with this part of the code of rqlite (store/store.go).
func (s *Store) Database(leader bool) ([]byte, error) {
if leader && s.raft.State() != raft.Leader {
return nil, ErrNotLeader
}
// Ensure only one snapshot can take place at once, and block all queries.
s.mu.Lock()
defer s.mu.Unlock()
f, err := ioutil.TempFile("", "rqlilte-snap-
-
Updated
Oct 17, 2021 - Python
Whenever I submit a GET request to the api/public/groups endpoint, the "collections" field for each group returns "None" on every group, even if they have access to collections. I can verify that the
It looks like there are hints at connecting directly with a socket path https://github.com/beekeeper-studio/beekeeper-studio/blob/9ff3131030057364f31f3034677fc0f6a9bd48b5/src/lib/connection-provider.js#L23
But there does not appear to be anything in the UI to indicate
-
Updated
Oct 18, 2021 - Go
-
Updated
Oct 11, 2021 - Go
-
Updated
Apr 20, 2021 - Python
-
Updated
Oct 18, 2021 - C#