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 15,602 public repositories matching this topic...
-
Updated
Mar 4, 2021 - Go
The Golang ORM GORM generates queries that use this function when dealing with a JSON column. We already have json_extract_path
and the #>>
operator, so we should be able to add this too. See https://www.postgresql.org/docs/current/functions-json.html
Instructions
- Refer to the commit that added
json_extract_path
: https://github.com/cockroachdb/cockroach/pull/20520/commits/6
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
-
Updated
Mar 4, 2021 - C++
Now insert and query share the resource ( Max Process Count control) 。 When the query with high TPS,the insert will get error (“error: too many process”). I think separator the resource for Insert and Query will makes sense. Ensure enough resource for insert。It looks like Use Yarn, Insert and Query use the different resource quota。
Or the simple way , Can we set Ratio for Insert and
Feature request
Is there any chance to have a Knex native way to set "DEFERRABLE INITIALLY DEFERRED" on a table with foreign key constraints ?
knex.schema.table('users', function (table) {
table.integer('user_id').unsigned()
table.foreign('user_id').references('Items.user_id_in_items').deferred().
})
Issue description
Go 1.15 will introduce a new Validator
interface, which may be implemented by Conn
to allow drivers to signal if a connection is valid or if it should be discarded:
-
Updated
Mar 4, 2021 - C
-
Updated
Mar 3, 2021 - JavaScript
-
Updated
Dec 2, 2020 - Python
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-
## 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
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
-
Updated
Dec 22, 2020 - Python
When launching the Create project from database dialog from the context menu of a database, the server and database dropdown are already populated, but sometimes the database dropdown is blank for a few second while waiting for the list of databases to load.
It would be nice if th
-
Updated
Feb 13, 2021 - Go
-
Updated
Mar 4, 2021 - Go
-
Updated
Mar 4, 2021 - C#
-
Updated
Mar 4, 2021 - Python
-
Updated
Mar 4, 2021 - Java
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
Reusing cloudera/hue#1684
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