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,138 public repositories matching this topic...
-
Updated
Jan 31, 2021 - Go
The PGJDBC docs describe how one can include a URL parameter of options
in order to set session variables: https://jdbc.postgresql.org/documentation/head/connect.html#connection-parameters
This is important because PGJDBC does not allow one to set session variables directly in the URL. That is, you need to specify like this:
postgresql://user@host:port/database?options=-c%20serial_nor
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
Jan 31, 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
Environment
Knex version: 0.21.12
Database + version: Postgres 13
OS: Linux
Bug
- Explain what kind of behaviour you are getting and how you think it should do
Combining .pluck() with .first() yields strange behaviors. If .first() is before .pluck(), then the result is an array of plucked elements. If .first() is before .pluck() then the result is object with the plucked key and
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
Jan 30, 2021 - C
-
Updated
Dec 2, 2020 - Python
-
Updated
Jan 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-
## 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
Jan 26, 2021 - Go
-
Updated
Jan 31, 2021 - Go
-
Updated
Jan 31, 2021 - C#
-
Updated
Jan 31, 2021 - Python
-
Updated
Jan 27, 2021 - Java
-
Updated
Jan 29, 2021 - Python
-
Updated
Jan 31, 2021 - C
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