Comments (5)
@ArturFormella the functionality already exists as a function:
nikola@[local] nikola # \dx istore
List of installed extensions
Name | Version | Schema | Description
--------+---------+--------+-------------------------
istore | 0.1.6 | public | an integer based hstore
(1 row)
nikola@[local] nikola # select delete('1=>0, 2=>0, 3=>0'::istore, '{2,3}'::integer[]);
delete
----------
"1"=>"0"
(1 row)
from istore.
Oh, thank you for pointing this out!
from istore.
In that case it should be really easy to add an operator, if it is helpful. I will look at this.
from istore.
do we finally want this as operator? What are the benefits having an operator over a function?
from istore.
On further thought I think a function is clearer here than an operator (which is just semantic sugar around a function anyway). A subtraction operator might not be sufficiently clear in that case especially if you think of istore as a sparse array.
from istore.
Related Issues (13)
- cistore
- scount
- remove compiler warnings
- missing equality operator
- int overflow for big istore fetch HOT 2
- postgres 9.2 HOT 2
- aggregate with floor HOT 7
- Introduce functions to control the upper and lower boundaries of the values in istore HOT 2
- build failure with postgresql-12 HOT 4
- istore precludes parallel queries
- Istore multiplication is not very friendly
- potential int overflow in clamp_below
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from istore.